Package org.eclipse.sisu.plexus
Class ComponentImpl
- java.lang.Object
-
- org.eclipse.sisu.plexus.ComponentImpl
-
- All Implemented Interfaces:
Annotation
public final class ComponentImpl extends Object implements org.codehaus.plexus.component.annotations.Component
Partial runtime implementation of Plexus @Component
annotation, supporting the most common attributes.
-
-
Constructor Summary
Constructors Constructor Description ComponentImpl(Class<?> role, String hint, String instantiationStrategy, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
alias()
Class<? extends Annotation>
annotationType()
String
composer()
String
configurator()
String
description()
boolean
equals(Object rhs)
String
factory()
int
hashCode()
String
hint()
String
instantiationStrategy()
boolean
isolatedRealm()
String
lifecycleHandler()
String
profile()
Class<?>
role()
String
toString()
String
type()
String
version()
-
-
-
Method Detail
-
role
public Class<?> role()
-
hint
public String hint()
-
instantiationStrategy
public String instantiationStrategy()
-
description
public String description()
-
isolatedRealm
public boolean isolatedRealm()
-
alias
public String alias()
-
composer
public String composer()
-
configurator
public String configurator()
-
factory
public String factory()
-
lifecycleHandler
public String lifecycleHandler()
-
profile
public String profile()
-
type
public String type()
-
version
public String version()
-
equals
public boolean equals(Object rhs)
- Specified by:
equals
in interfaceAnnotation
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceAnnotation
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Specified by:
toString
in interfaceAnnotation
- Overrides:
toString
in classObject
-
annotationType
public Class<? extends Annotation> annotationType()
- Specified by:
annotationType
in interfaceAnnotation
-
-