Class InvocationContext

  • All Implemented Interfaces:
    Serializable, org.glassfish.enterprise.concurrent.spi.ContextHandle

    public class InvocationContext
    extends Object
    implements org.glassfish.enterprise.concurrent.spi.ContextHandle
    See Also:
    Serialized Form
    • Constructor Detail

      • InvocationContext

        public InvocationContext​(ComponentInvocation invocation,
                                 ClassLoader contextClassLoader,
                                 SecurityContext securityContext,
                                 boolean useTransactionOfExecutionThread,
                                 List<jakarta.enterprise.concurrent.spi.ThreadContextSnapshot> threadContextSnapshots,
                                 List<jakarta.enterprise.concurrent.spi.ThreadContextRestorer> threadContextRestorers)
    • Method Detail

      • getContextClassLoader

        public ClassLoader getContextClassLoader()
      • isUseTransactionOfExecutionThread

        public boolean isUseTransactionOfExecutionThread()
      • getSpanContextMap

        public Map getSpanContextMap()
      • getThreadContextSnapshots

        public List<jakarta.enterprise.concurrent.spi.ThreadContextSnapshot> getThreadContextSnapshots()
      • getThreadContextRestorers

        public List<jakarta.enterprise.concurrent.spi.ThreadContextRestorer> getThreadContextRestorers()