|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- bean representation typepublic interface Bean<T>
Reprensts bean instances that are contextual and injectable by the container.
Method Summary | |
---|---|
Class<?> |
getBeanClass()
Returns class of bean. |
Set<InjectionPoint> |
getInjectionPoints()
Returns all injection points of this bean. |
String |
getName()
Returns name of a bean. |
Set<Annotation> |
getQualifiers()
Returns qualifiers of a bean. |
Class<? extends Annotation> |
getScope()
Returns scope of a bean. |
Set<Class<? extends Annotation>> |
getStereotypes()
Returns bean stereotypes. |
Set<Type> |
getTypes()
Returns api types of a bean. |
boolean |
isAlternative()
Returns true if declares as policy |
boolean |
isNullable()
If bean is nullable return true, false otherwise. |
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()
boolean isNullable()
Nullable means that if producer bean api type is primitive, its nullable property will be false.
Set<InjectionPoint> getInjectionPoints()
Class<?> getBeanClass()
Set<Class<? extends Annotation>> getStereotypes()
boolean isAlternative()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |