T
- bean representation typepublic interface Bean<T> extends Contextual<T>
Modifier and Type | Method and Description |
---|---|
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.
|
create, destroy
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()
Copyright © 2017. All rights reserved.