public class NullContextHandle extends Object implements SetupContextHandle, ResetContextHandle
Modifier and Type | Field and Description |
---|---|
static NullContextHandle |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
String |
getFactoryName()
Retrieves the name of the factory which built the handle.
|
protected Object |
readResolve() |
void |
reset() |
ResetContextHandle |
setup() |
public static final NullContextHandle INSTANCE
public ResetContextHandle setup() throws IllegalStateException
setup
in interface SetupContextHandle
IllegalStateException
ContextSetupProvider.setup(org.glassfish.enterprise.concurrent.spi.ContextHandle)
public void reset()
reset
in interface ResetContextHandle
ContextSetupProvider.reset(org.glassfish.enterprise.concurrent.spi.ContextHandle)
public String getFactoryName()
SetupContextHandle
getFactoryName
in interface ResetContextHandle
getFactoryName
in interface SetupContextHandle
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
Copyright © 2018 JBoss by Red Hat. All rights reserved.