public class ClassLoaderContextHandleFactory extends Object implements ContextHandleFactory
| Constructor and Description |
|---|
ClassLoaderContextHandleFactory(ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
int |
getChainPriority()
The factory priority is used to define the order of handles when chained.
|
String |
getName()
Retrieves the factory's name.
|
SetupContextHandle |
readSetupContextHandle(ObjectInputStream in)
Reads a handle from the specified input stream.
|
SetupContextHandle |
saveContext(javax.enterprise.concurrent.ContextService contextService,
Map<String,String> contextObjectProperties) |
void |
writeSetupContextHandle(SetupContextHandle contextHandle,
ObjectOutputStream out)
Writes the handle to the specified output stream.
|
public static final String NAME
public ClassLoaderContextHandleFactory(ClassLoader classLoader)
public SetupContextHandle saveContext(javax.enterprise.concurrent.ContextService contextService, Map<String,String> contextObjectProperties)
saveContext in interface ContextHandleFactoryContextSetupProvider.saveContext(javax.enterprise.concurrent.ContextService, java.util.Map)public String getName()
ContextHandleFactorygetName in interface ContextHandleFactorypublic int getChainPriority()
ContextHandleFactorygetChainPriority in interface ContextHandleFactorypublic void writeSetupContextHandle(SetupContextHandle contextHandle, ObjectOutputStream out) throws IOException
ContextHandleFactorywriteSetupContextHandle in interface ContextHandleFactoryIOExceptionpublic SetupContextHandle readSetupContextHandle(ObjectInputStream in) throws IOException, ClassNotFoundException
ContextHandleFactoryreadSetupContextHandle in interface ContextHandleFactoryIOExceptionClassNotFoundExceptionCopyright © 2023 JBoss by Red Hat. All rights reserved.