T
- the class of the bean instancepublic class ImmutableBeanAttributes<T> extends Object implements javax.enterprise.inject.spi.BeanAttributes<T>
BeanAttributes
used by Weld.Constructor and Description |
---|
ImmutableBeanAttributes(Set<Annotation> qualifiers,
String name,
javax.enterprise.inject.spi.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() |
Set<Annotation> |
getQualifiers() |
Class<? extends Annotation> |
getScope() |
Set<Class<? extends Annotation>> |
getStereotypes() |
Set<Type> |
getTypes() |
boolean |
isAlternative() |
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, javax.enterprise.inject.spi.BeanAttributes<T> attributes)
public Set<Class<? extends Annotation>> getStereotypes()
getStereotypes
in interface javax.enterprise.inject.spi.BeanAttributes<T>
public boolean isAlternative()
isAlternative
in interface javax.enterprise.inject.spi.BeanAttributes<T>
public String getName()
getName
in interface javax.enterprise.inject.spi.BeanAttributes<T>
public Set<Annotation> getQualifiers()
getQualifiers
in interface javax.enterprise.inject.spi.BeanAttributes<T>
public Set<Type> getTypes()
getTypes
in interface javax.enterprise.inject.spi.BeanAttributes<T>
public Class<? extends Annotation> getScope()
getScope
in interface javax.enterprise.inject.spi.BeanAttributes<T>
Copyright © 2016. All rights reserved.