T
- the class of the bean instancepublic interface BeanAttributes<T>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Obtains the EL name of a bean, if it has one.
|
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Obtains the qualifiers of the bean.
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Obtains the scope of the bean.
|
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getStereotypes()
Obtains the stereotypes of the bean.
|
java.util.Set<java.lang.reflect.Type> |
getTypes()
Obtains the bean types of the bean.
|
boolean |
isAlternative()
Determines if the bean is an alternative.
|
java.util.Set<java.lang.reflect.Type> getTypes()
java.util.Set<java.lang.annotation.Annotation> getQualifiers()
java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
java.lang.String getName()
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
boolean isAlternative()
Bean
may implement Prioritized
in order to be selected for the application.
Prioritized.getPriority()
determines the priority used to resolve ambiguities.true
if the bean is an alternative, and false
otherwise.