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 Details

  • Method Details

    • saveContext

      public org.jboss.as.ee.concurrent.handle.SetupContextHandle saveContext(jakarta.enterprise.concurrent.ContextService contextService, Map<String,String> contextObjectProperties)
      Specified by:
      saveContext in interface org.jboss.as.ee.concurrent.handle.ContextHandleFactory
    • getName

      public String getName()
      Specified by:
      getName in interface org.jboss.as.ee.concurrent.handle.ContextHandleFactory
    • getChainPriority

      public int getChainPriority()
      Specified by:
      getChainPriority in interface org.jboss.as.ee.concurrent.handle.ContextHandleFactory
    • writeSetupContextHandle

      public void writeSetupContextHandle(org.jboss.as.ee.concurrent.handle.SetupContextHandle contextHandle, ObjectOutputStream out) throws IOException
      Specified by:
      writeSetupContextHandle in interface org.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:
      readSetupContextHandle in interface org.jboss.as.ee.concurrent.handle.ContextHandleFactory
      Throws:
      IOException
      ClassNotFoundException