Package org.glassfish.concurrent.runtime
Class ContextSetupProviderImpl
- java.lang.Object
-
- org.glassfish.concurrent.runtime.ContextSetupProviderImpl
-
- All Implemented Interfaces:
Serializable
,org.glassfish.enterprise.concurrent.spi.ContextSetupProvider
public class ContextSetupProviderImpl extends Object implements org.glassfish.enterprise.concurrent.spi.ContextSetupProvider
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTEXT_TYPE_CLASSLOADING
static String
CONTEXT_TYPE_NAMING
static String
CONTEXT_TYPE_SECURITY
static String
CONTEXT_TYPE_WORKAREA
-
Constructor Summary
Constructors Constructor Description ContextSetupProviderImpl(InvocationManager invocationManager, Deployment deployment, ComponentEnvManager compEnvMgr, ApplicationRegistry applicationRegistry, Applications applications, JavaEETransactionManager transactionManager, Set<String> propagated, Set<String> cleared, Set<String> unchanged)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reset(org.glassfish.enterprise.concurrent.spi.ContextHandle contextHandle)
org.glassfish.enterprise.concurrent.spi.ContextHandle
saveContext(jakarta.enterprise.concurrent.ContextService contextService)
org.glassfish.enterprise.concurrent.spi.ContextHandle
saveContext(jakarta.enterprise.concurrent.ContextService contextService, Map<String,String> contextObjectProperties)
org.glassfish.enterprise.concurrent.spi.ContextHandle
setup(org.glassfish.enterprise.concurrent.spi.ContextHandle contextHandle)
-
-
-
Field Detail
-
CONTEXT_TYPE_CLASSLOADING
public static final String CONTEXT_TYPE_CLASSLOADING
- See Also:
- Constant Field Values
-
CONTEXT_TYPE_SECURITY
public static final String CONTEXT_TYPE_SECURITY
- See Also:
- Constant Field Values
-
CONTEXT_TYPE_NAMING
public static final String CONTEXT_TYPE_NAMING
- See Also:
- Constant Field Values
-
CONTEXT_TYPE_WORKAREA
public static final String CONTEXT_TYPE_WORKAREA
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContextSetupProviderImpl
public ContextSetupProviderImpl(InvocationManager invocationManager, Deployment deployment, ComponentEnvManager compEnvMgr, ApplicationRegistry applicationRegistry, Applications applications, JavaEETransactionManager transactionManager, Set<String> propagated, Set<String> cleared, Set<String> unchanged)
-
-
Method Detail
-
saveContext
public org.glassfish.enterprise.concurrent.spi.ContextHandle saveContext(jakarta.enterprise.concurrent.ContextService contextService)
- Specified by:
saveContext
in interfaceorg.glassfish.enterprise.concurrent.spi.ContextSetupProvider
-
saveContext
public org.glassfish.enterprise.concurrent.spi.ContextHandle saveContext(jakarta.enterprise.concurrent.ContextService contextService, Map<String,String> contextObjectProperties)
- Specified by:
saveContext
in interfaceorg.glassfish.enterprise.concurrent.spi.ContextSetupProvider
-
setup
public org.glassfish.enterprise.concurrent.spi.ContextHandle setup(org.glassfish.enterprise.concurrent.spi.ContextHandle contextHandle) throws IllegalStateException
- Specified by:
setup
in interfaceorg.glassfish.enterprise.concurrent.spi.ContextSetupProvider
- Throws:
IllegalStateException
-
reset
public void reset(org.glassfish.enterprise.concurrent.spi.ContextHandle contextHandle)
- Specified by:
reset
in interfaceorg.glassfish.enterprise.concurrent.spi.ContextSetupProvider
-
-