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