Class PassivationCapableSerializableContextual<C extends jakarta.enterprise.context.spi.Contextual<I> & jakarta.enterprise.inject.spi.PassivationCapable,I>

java.lang.Object
org.jboss.weld.contexts.ForwardingContextual<I>
org.wildfly.clustering.weld.contexts.PassivationCapableSerializableContextual<C,I>
All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<I>, jakarta.enterprise.inject.spi.PassivationCapable, Serializable, org.jboss.weld.bean.WrappedContextual<I>, org.jboss.weld.serialization.spi.helpers.SerializableContextual<C,I>, MarshallableContextual<C>, PassivationCapableContextual<C,I>

public class PassivationCapableSerializableContextual<C extends jakarta.enterprise.context.spi.Contextual<I> & jakarta.enterprise.inject.spi.PassivationCapable,I> extends org.jboss.weld.contexts.ForwardingContextual<I> implements PassivationCapableContextual<C,I>, org.jboss.weld.bean.WrappedContextual<I>, MarshallableContextual<C>
Author:
Paul Ferraro
See Also:
  • Constructor Details

    • PassivationCapableSerializableContextual

      public PassivationCapableSerializableContextual(String contextId, C instance)
  • Method Details

    • getIdentifier

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

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

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

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

      public jakarta.enterprise.context.spi.Contextual<I> delegate()
      Specified by:
      delegate in interface org.jboss.weld.bean.WrappedContextual<C extends jakarta.enterprise.context.spi.Contextual<I> & jakarta.enterprise.inject.spi.PassivationCapable>
      Specified by:
      delegate in class org.jboss.weld.contexts.ForwardingContextual<I>
    • getContextId

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