Class 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 Detail

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