T - the class of the bean instancepublic class ImmutableBeanAttributes<T> extends Object implements BeanAttributes<T>
BeanAttributes used by Weld.| Constructor and Description |
|---|
ImmutableBeanAttributes(Set<Annotation> qualifiers,
String name,
BeanAttributes<T> attributes)
Utility constructor used for overriding Bean qualifiers and name for specialization purposes.
|
ImmutableBeanAttributes(Set<Class<? extends Annotation>> stereotypes,
boolean alternative,
String name,
Set<Annotation> qualifiers,
Set<Type> types,
Class<? extends Annotation> scope) |
| 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.
|
String |
toString() |
public ImmutableBeanAttributes(Set<Class<? extends Annotation>> stereotypes, boolean alternative, String name, Set<Annotation> qualifiers, Set<Type> types, Class<? extends Annotation> scope)
public ImmutableBeanAttributes(Set<Annotation> qualifiers, String name, BeanAttributes<T> attributes)
public Set<Class<? extends Annotation>> getStereotypes()
BeanAttributesgetStereotypes in interface BeanAttributes<T>public boolean isAlternative()
BeanAttributesisAlternative in interface BeanAttributes<T>public String getName()
BeanAttributesgetName in interface BeanAttributes<T>public Set<Annotation> getQualifiers()
BeanAttributesgetQualifiers in interface BeanAttributes<T>public Set<Type> getTypes()
BeanAttributesgetTypes in interface BeanAttributes<T>public Class<? extends Annotation> getScope()
BeanAttributesgetScope in interface BeanAttributes<T>Copyright © 2014. All Rights Reserved.