public class SecurityContextHandleFactory extends Object implements ContextHandleFactory
| Modifier and Type | Field and Description |
|---|---|
static SecurityContextHandleFactory |
INSTANCE |
static String |
NAME |
| 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.
|
ContextHandle |
readHandle(ObjectInputStream in)
Reads a handle from the specified input stream.
|
ContextHandle |
saveContext(javax.enterprise.concurrent.ContextService contextService,
Map<String,String> contextObjectProperties) |
void |
writeHandle(ContextHandle contextHandle,
ObjectOutputStream out)
Writes the handle to the specified output stream.
|
public static final String NAME
public static final SecurityContextHandleFactory INSTANCE
public ContextHandle 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 writeHandle(ContextHandle contextHandle, ObjectOutputStream out) throws IOException
ContextHandleFactorywriteHandle in interface ContextHandleFactoryIOExceptionpublic ContextHandle readHandle(ObjectInputStream in) throws IOException, ClassNotFoundException
ContextHandleFactoryreadHandle in interface ContextHandleFactoryIOExceptionClassNotFoundExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.