public interface ContextHandleFactory
| 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(jakarta.enterprise.concurrent.ContextService contextService,
Map<String,String> contextObjectProperties) |
void |
writeSetupContextHandle(SetupContextHandle contextHandle,
ObjectOutputStream out)
Writes the handle to the specified output stream.
|
SetupContextHandle saveContext(jakarta.enterprise.concurrent.ContextService contextService, Map<String,String> contextObjectProperties)
contextService - contextObjectProperties - ContextSetupProvider.saveContext(jakarta.enterprise.concurrent.ContextService, java.util.Map)int getChainPriority()
String getName()
void writeSetupContextHandle(SetupContextHandle contextHandle, ObjectOutputStream out) throws IOException
contextHandle - out - IOExceptionSetupContextHandle readSetupContextHandle(ObjectInputStream in) throws IOException, ClassNotFoundException
in - IOExceptionClassNotFoundExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.