Class 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 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)
    • Method Detail

      • getTypes

        public Set<Type> getTypes()
        Specified by:
        getTypes in interface javax.enterprise.inject.spi.BeanAttributes<T>
      • getQualifiers

        public Set<Annotation> getQualifiers()
        Specified by:
        getQualifiers in interface javax.enterprise.inject.spi.BeanAttributes<T>
      • getScope

        public Class<? extends Annotation> getScope()
        Specified by:
        getScope in interface javax.enterprise.inject.spi.BeanAttributes<T>
      • getName

        public String getName()
        Specified by:
        getName in interface javax.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:
        getStereotypes in interface javax.enterprise.inject.spi.BeanAttributes<T>
      • isAlternative

        public boolean isAlternative()
        Specified by:
        isAlternative in interface javax.enterprise.inject.spi.BeanAttributes<T>