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