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