public interface Bean<T> extends Contextual<T>
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getBeanClass()
Returns the bean class.
|
java.util.Set<InjectionPoint> |
getInjectionPoints()
Returns the set of injection points, for validation.
|
java.lang.String |
getName()
Returns the bean's name or null if the bean does not have a primary name.
|
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Returns the bean's qualifier annotations.
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Returns the bean's scope type.
|
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getStereotypes()
Returns the stereotypes that the bean uses for priority
|
java.util.Set<java.lang.reflect.Type> |
getTypes()
Returns the types that the bean exports for bindings.
|
boolean |
isAlternative()
True for a disabled alternative.
|
boolean |
isNullable()
Returns true if the bean can be null
|
create, destroy
boolean isAlternative()
java.lang.Class<?> getBeanClass()
java.util.Set<InjectionPoint> getInjectionPoints()
java.lang.String getName()
boolean isNullable()
java.util.Set<java.lang.annotation.Annotation> getQualifiers()
java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
java.util.Set<java.lang.reflect.Type> getTypes()