Package org.glassfish.concurrent.runtime
Class InvocationContext
- java.lang.Object
-
- org.glassfish.concurrent.runtime.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 Summary
Constructors Constructor Description InvocationContext(ComponentInvocation invocation, ClassLoader contextClassLoader, SecurityContext securityContext, boolean useTransactionOfExecutionThread, List<jakarta.enterprise.concurrent.spi.ThreadContextSnapshot> threadContextSnapshots, List<jakarta.enterprise.concurrent.spi.ThreadContextRestorer> threadContextRestorers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoader
getContextClassLoader()
ComponentInvocation
getInvocation()
SecurityContext
getSecurityContext()
List<jakarta.enterprise.concurrent.spi.ThreadContextRestorer>
getThreadContextRestorers()
List<jakarta.enterprise.concurrent.spi.ThreadContextSnapshot>
getThreadContextSnapshots()
boolean
isUseTransactionOfExecutionThread()
-
-
-
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
-
getInvocation
public ComponentInvocation getInvocation()
-
getContextClassLoader
public ClassLoader getContextClassLoader()
-
getSecurityContext
public SecurityContext getSecurityContext()
-
isUseTransactionOfExecutionThread
public boolean isUseTransactionOfExecutionThread()
-
getThreadContextSnapshots
public List<jakarta.enterprise.concurrent.spi.ThreadContextSnapshot> getThreadContextSnapshots()
-
getThreadContextRestorers
public List<jakarta.enterprise.concurrent.spi.ThreadContextRestorer> getThreadContextRestorers()
-
-