Class PassivationCapableSerializableBean<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable,​I>

  • All Implemented Interfaces:
    jakarta.enterprise.context.spi.Contextual<I>, jakarta.enterprise.inject.spi.Bean<I>, jakarta.enterprise.inject.spi.BeanAttributes<I>, jakarta.enterprise.inject.spi.PassivationCapable, Serializable, org.jboss.weld.bean.WrappedContextual<I>, org.jboss.weld.serialization.spi.helpers.SerializableContextual<B,​I>, MarshallableContextual<B>, PassivationCapableContextual<B,​I>

    public class PassivationCapableSerializableBean<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable,​I>
    extends org.jboss.weld.bean.ForwardingBean<I>
    implements PassivationCapableContextual<B,​I>, MarshallableContextual<B>
    Author:
    Paul Ferraro
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.jboss.weld.util.bean.IsolatedForwardingBean

        org.jboss.weld.util.bean.IsolatedForwardingBean.Impl<T extends Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.enterprise.inject.spi.Bean<I> delegate()  
      B get()  
      String getContextId()
      Returns the identifier of this context.
      String getId()  
      org.jboss.weld.serialization.spi.BeanIdentifier getIdentifier()  
      B getInstance()  
      • Methods inherited from class org.jboss.weld.bean.ForwardingBean

        attributes, toString
      • Methods inherited from class org.jboss.weld.util.bean.IsolatedForwardingBean

        create, destroy, equals, getBeanClass, getInjectionPoints, hashCode
      • Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes

        getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
      • Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes

        getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
      • Methods inherited from interface jakarta.enterprise.context.spi.Contextual

        create, destroy
    • Constructor Detail

      • PassivationCapableSerializableBean

        public PassivationCapableSerializableBean​(String contextId,
                                                  B instance)
    • Method Detail

      • getIdentifier

        public org.jboss.weld.serialization.spi.BeanIdentifier getIdentifier()
        Specified by:
        getIdentifier in interface MarshallableContextual<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable>
      • getInstance

        public B getInstance()
        Specified by:
        getInstance in interface MarshallableContextual<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable>
      • getId

        public String getId()
        Specified by:
        getId in interface jakarta.enterprise.inject.spi.PassivationCapable
      • get

        public B get()
        Specified by:
        get in interface org.jboss.weld.serialization.spi.helpers.SerializableContextual<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable,​I>
      • delegate

        public jakarta.enterprise.inject.spi.Bean<I> delegate()
        Specified by:
        delegate in interface org.jboss.weld.bean.WrappedContextual<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable>
        Specified by:
        delegate in class org.jboss.weld.bean.ForwardingBean<I>