|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the class of the bean instancepublic interface Bean<T>
Represents an enabled bean. This interface defines everything the container needs to manage instances of the bean.
Method Summary | |
---|---|
Class<?> |
getBeanClass()
The bean class of the managed bean or session bean or of the bean that declares the producer method or field. |
Set<InjectionPoint> |
getInjectionPoints()
Obtains the InjectionPoint objects
representing injection points of the bean, that will be validated by the
container at initialization time. |
String |
getName()
Obtains the EL name of a bean, if it has one. |
Set<Annotation> |
getQualifiers()
Obtains the qualifiers of the bean. |
Class<? extends Annotation> |
getScope()
Obtains the scope of the bean. |
Set<Class<? extends Annotation>> |
getStereotypes()
Obtains the stereotypes of the bean. |
Set<Type> |
getTypes()
Obtains the bean types of the bean. |
boolean |
isAlternative()
Determines if the bean is an alternative. |
boolean |
isNullable()
Determines if Contextual.create(CreationalContext)
sometimes return a null value. |
Methods inherited from interface javax.enterprise.context.spi.Contextual |
---|
create, destroy |
Method Detail |
---|
Set<Type> getTypes()
Set<Annotation> getQualifiers()
Class<? extends Annotation> getScope()
String getName()
Set<Class<? extends Annotation>> getStereotypes()
Class<?> getBeanClass()
boolean isAlternative()
boolean isNullable()
Contextual.create(CreationalContext)
sometimes return a null value.
create()
method may return a null
value, and false otherwiseSet<InjectionPoint> getInjectionPoints()
InjectionPoint
objects
representing injection points of the bean, that will be validated by the
container at initialization time.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |