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

java.lang.Object
org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
org.jboss.weld.util.bean.IsolatedForwardingBean<T>
org.jboss.weld.bean.ForwardingBean<I>
org.wildfly.clustering.weld.contexts.PassivationCapableSerializableBean<B,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:
  • 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>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.enterprise.inject.spi.Bean<I>
     
    get()
     
    Returns the identifier of this context.
     
    org.jboss.weld.serialization.spi.BeanIdentifier
     
     

    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 class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    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 Details

    • PassivationCapableSerializableBean

      public PassivationCapableSerializableBean(String contextId, B instance)
  • Method Details

    • 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>
    • getContextId

      public String getContextId()
      Description copied from interface: PassivationCapableContextual
      Returns the identifier of this context.
      Specified by:
      getContextId in interface PassivationCapableContextual<B extends jakarta.enterprise.inject.spi.Bean<I> & jakarta.enterprise.inject.spi.PassivationCapable,I>
      Returns:
      a context identifier.