Class CommonBean<T>

  • All Implemented Interfaces:
    javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.BeanAttributes<T>
    Direct Known Subclasses:
    AbstractSyntheticBean, RIBean

    public abstract class CommonBean<T>
    extends ForwardingBeanAttributes<T>
    implements javax.enterprise.inject.spi.Bean<T>
    Common superclass for beans that are identified using id.
    Author:
    Jozef Hartinger, Pete Muir
    • Constructor Detail

      • CommonBean

        protected CommonBean​(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
                             org.jboss.weld.serialization.spi.BeanIdentifier identifier)
    • Method Detail

      • setAttributes

        public void setAttributes​(javax.enterprise.inject.spi.BeanAttributes<T> attributes)
      • isNullable

        public boolean isNullable()
        Specified by:
        isNullable in interface javax.enterprise.inject.spi.Bean<T>
      • getId

        public String getId()
      • getIdentifier

        public org.jboss.weld.serialization.spi.BeanIdentifier getIdentifier()