Class NullContextHandle
- java.lang.Object
-
- org.jboss.as.ee.concurrent.handle.NullContextHandle
-
- All Implemented Interfaces:
Serializable
,org.glassfish.enterprise.concurrent.spi.ContextHandle
,SetupContextHandle
public class NullContextHandle extends Object implements SetupContextHandle
A context handle without invocation context to set. For now it provides only the setup and reset of TCCL captured at handle creation.- Author:
- Eduardo Martins
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NullContextHandle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFactoryName()
Retrieves the name of the factory which built the handle.ResetContextHandle
setup()
-
-
-
Method Detail
-
setup
public ResetContextHandle setup() throws IllegalStateException
- Specified by:
setup
in interfaceSetupContextHandle
- Returns:
- Throws:
IllegalStateException
- See Also:
ContextSetupProvider.setup(org.glassfish.enterprise.concurrent.spi.ContextHandle)
-
getFactoryName
public String getFactoryName()
Description copied from interface:SetupContextHandle
Retrieves the name of the factory which built the handle.- Specified by:
getFactoryName
in interfaceSetupContextHandle
- Returns:
-
-