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