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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PassivationCapableSerializableContextual(String contextId, C instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.enterprise.context.spi.Contextual<I>delegate()Cget()StringgetContextId()Returns the identifier of this context.StringgetId()org.jboss.weld.serialization.spi.BeanIdentifiergetIdentifier()CgetInstance()-
Methods inherited from class org.jboss.weld.contexts.ForwardingContextual
create, destroy, equals, hashCode, toString
-
-
-
-
Method Detail
-
getIdentifier
public org.jboss.weld.serialization.spi.BeanIdentifier getIdentifier()
- Specified by:
getIdentifierin interfaceMarshallableContextual<C extends jakarta.enterprise.context.spi.Contextual<I> & jakarta.enterprise.inject.spi.PassivationCapable>
-
getInstance
public C getInstance()
- Specified by:
getInstancein interfaceMarshallableContextual<C extends jakarta.enterprise.context.spi.Contextual<I> & jakarta.enterprise.inject.spi.PassivationCapable>
-
getId
public String getId()
- Specified by:
getIdin interfacejakarta.enterprise.inject.spi.PassivationCapable
-
get
public C get()
-
delegate
public jakarta.enterprise.context.spi.Contextual<I> delegate()
-
getContextId
public String getContextId()
Description copied from interface:PassivationCapableContextualReturns the identifier of this context.- Specified by:
getContextIdin interfacePassivationCapableContextual<C extends jakarta.enterprise.context.spi.Contextual<I> & jakarta.enterprise.inject.spi.PassivationCapable,I>- Returns:
- a context identifier.
-
-