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()
BeanAttributes
getStereotypes
in interface BeanAttributes<T>
public boolean isAlternative()
BeanAttributes
isAlternative
in interface BeanAttributes<T>
public String getName()
BeanAttributes
getName
in interface BeanAttributes<T>
public Set<Annotation> getQualifiers()
BeanAttributes
getQualifiers
in interface BeanAttributes<T>
public Set<Type> getTypes()
BeanAttributes
getTypes
in interface BeanAttributes<T>
public Class<? extends Annotation> getScope()
BeanAttributes
getScope
in interface BeanAttributes<T>
Copyright © 2013 Seam Framework. All Rights Reserved.