T
- the class of the bean instancepublic interface BeanAttributes<T>
Modifier and Type | Method and Description |
---|---|
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.
|
Set<Type> getTypes()
Set<Annotation> getQualifiers()
Class<? extends Annotation> getScope()
Set<Class<? extends 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.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.