Class EJBContextHandleFactory
- java.lang.Object
-
- org.jboss.as.ejb3.component.concurrent.EJBContextHandleFactory
-
- All Implemented Interfaces:
ContextHandleFactory
public class EJBContextHandleFactory extends Object implements ContextHandleFactory
The context handle factory responsible for saving and setting the ejb context.- Author:
- Eduardo Martins
-
-
Field Summary
Fields Modifier and Type Field Description static EJBContextHandleFactoryINSTANCEstatic StringNAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetChainPriority()StringgetName()SetupContextHandlereadSetupContextHandle(ObjectInputStream in)SetupContextHandlesaveContext(jakarta.enterprise.concurrent.ContextService contextService, Map<String,String> contextObjectProperties)voidwriteSetupContextHandle(SetupContextHandle contextHandle, ObjectOutputStream out)
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
INSTANCE
public static final EJBContextHandleFactory INSTANCE
-
-
Method Detail
-
saveContext
public SetupContextHandle saveContext(jakarta.enterprise.concurrent.ContextService contextService, Map<String,String> contextObjectProperties)
- Specified by:
saveContextin interfaceContextHandleFactory
-
getName
public String getName()
- Specified by:
getNamein interfaceContextHandleFactory
-
getChainPriority
public int getChainPriority()
- Specified by:
getChainPriorityin interfaceContextHandleFactory
-
writeSetupContextHandle
public void writeSetupContextHandle(SetupContextHandle contextHandle, ObjectOutputStream out) throws IOException
- Specified by:
writeSetupContextHandlein interfaceContextHandleFactory- Throws:
IOException
-
readSetupContextHandle
public SetupContextHandle readSetupContextHandle(ObjectInputStream in) throws IOException, ClassNotFoundException
- Specified by:
readSetupContextHandlein interfaceContextHandleFactory- Throws:
IOExceptionClassNotFoundException
-
-