Package org.apache.webbeans.component
Class BeanAttributesImpl<T>
- java.lang.Object
-
- org.apache.webbeans.component.BeanAttributesImpl<T>
-
- All Implemented Interfaces:
javax.enterprise.inject.spi.BeanAttributes<T>
- Direct Known Subclasses:
AbstractOwbBean
public class BeanAttributesImpl<T> extends Object implements javax.enterprise.inject.spi.BeanAttributes<T>
-
-
Constructor Summary
Constructors Constructor Description BeanAttributesImpl(Set<Type> types)BeanAttributesImpl(Set<Type> types, Set<Annotation> qualifiers)BeanAttributesImpl(Set<Type> types, Set<Annotation> qualifiers, Class<? extends Annotation> scope)BeanAttributesImpl(Set<Type> types, Set<Annotation> qualifiers, Class<? extends Annotation> scope, String name, Set<Class<? extends Annotation>> stereotypes, boolean alternative)BeanAttributesImpl(Set<Type> types, Set<Annotation> qualifiers, Class<? extends Annotation> scope, Set<Class<? extends Annotation>> stereotypes)BeanAttributesImpl(javax.enterprise.inject.spi.Bean<T> bean)Deprecated.BeanAttributesImpl(javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetName()Set<Annotation>getQualifiers()Class<? extends Annotation>getScope()Set<Class<? extends Annotation>>getStereotypes()Set<Type>getTypes()booleanisAlternative()booleanisNullable()Deprecated.
-
-
-
Constructor Detail
-
BeanAttributesImpl
public BeanAttributesImpl(javax.enterprise.inject.spi.Bean<T> bean)
Deprecated.do not remove, this ct is used from within TomEE for example.
-
BeanAttributesImpl
public BeanAttributesImpl(javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes)
-
BeanAttributesImpl
public BeanAttributesImpl(Set<Type> types, Set<Annotation> qualifiers)
-
BeanAttributesImpl
public BeanAttributesImpl(Set<Type> types, Set<Annotation> qualifiers, Class<? extends Annotation> scope)
-
BeanAttributesImpl
public BeanAttributesImpl(Set<Type> types, Set<Annotation> qualifiers, Class<? extends Annotation> scope, Set<Class<? extends Annotation>> stereotypes)
-
BeanAttributesImpl
public BeanAttributesImpl(Set<Type> types, Set<Annotation> qualifiers, Class<? extends Annotation> scope, String name, Set<Class<? extends Annotation>> stereotypes, boolean alternative)
-
-
Method Detail
-
getTypes
public Set<Type> getTypes()
- Specified by:
getTypesin interfacejavax.enterprise.inject.spi.BeanAttributes<T>
-
getQualifiers
public Set<Annotation> getQualifiers()
- Specified by:
getQualifiersin interfacejavax.enterprise.inject.spi.BeanAttributes<T>
-
getScope
public Class<? extends Annotation> getScope()
- Specified by:
getScopein interfacejavax.enterprise.inject.spi.BeanAttributes<T>
-
getName
public String getName()
- Specified by:
getNamein interfacejavax.enterprise.inject.spi.BeanAttributes<T>
-
isNullable
public boolean isNullable()
Deprecated.Since CDI-1.1 we do not rely on isNullable for a bean as this information is really determined through other facts.- Returns:
- always
false
-
getStereotypes
public Set<Class<? extends Annotation>> getStereotypes()
- Specified by:
getStereotypesin interfacejavax.enterprise.inject.spi.BeanAttributes<T>
-
isAlternative
public boolean isAlternative()
- Specified by:
isAlternativein interfacejavax.enterprise.inject.spi.BeanAttributes<T>
-
-