Class PassivatingContextWrapper

java.lang.Object
org.jboss.weld.contexts.PassivatingContextWrapper

public class PassivatingContextWrapper extends Object
Wraps a passivating context with a wrapper that guarantees that each call to the context is done with serializable Contextual. The wrapper uses SerializableContextual if necessary.
Author:
Jozef Hartinger
  • Method Summary

    Modifier and Type
    Method
    Description
    static jakarta.enterprise.context.spi.Context
    unwrap(jakarta.enterprise.context.spi.Context context)
     
    static jakarta.enterprise.context.spi.Context
    wrap(jakarta.enterprise.context.spi.Context context, org.jboss.weld.serialization.spi.ContextualStore store)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • wrap

      public static jakarta.enterprise.context.spi.Context wrap(jakarta.enterprise.context.spi.Context context, org.jboss.weld.serialization.spi.ContextualStore store)
    • unwrap

      public static jakarta.enterprise.context.spi.Context unwrap(jakarta.enterprise.context.spi.Context context)