Class EJBContextHandleFactory
java.lang.Object
org.jboss.as.ejb3.component.concurrent.EJBContextHandleFactory
- All Implemented Interfaces:
ContextHandleFactory
The context handle factory responsible for saving and setting the ejb context.
- Author:
- Eduardo Martins
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintgetName()saveContext(jakarta.enterprise.concurrent.ContextService contextService, Map<String, String> contextObjectProperties) voidwriteSetupContextHandle(SetupContextHandle contextHandle, ObjectOutputStream out)
-
Field Details
-
NAME
- See Also:
-
INSTANCE
-
-
Method Details
-
saveContext
public SetupContextHandle saveContext(jakarta.enterprise.concurrent.ContextService contextService, Map<String, String> contextObjectProperties) - Specified by:
saveContextin interfaceContextHandleFactory
-
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
-