Uses of Class
org.ow2.jonas.lib.ejb21.JSessionSwitch

Packages that use JSessionSwitch
org.ow2.jonas.lib.ejb21   
 

Uses of JSessionSwitch in org.ow2.jonas.lib.ejb21
 

Subclasses of JSessionSwitch in org.ow2.jonas.lib.ejb21
 class JStatefulSwitch
          JStatefulSwitch is the implementation of JSessionSwitch dedicated to the Stateful Session Bean.
 class JStatelessSwitch
          JStatelessSwitch is the implementation of JSessionSwitch dedicated to the Stateless Session Bean.
 

Fields in org.ow2.jonas.lib.ejb21 declared as JSessionSwitch
protected  JSessionSwitch JServiceEndpoint.bs
          switch instance to use
protected  JSessionSwitch JSessionContext.bs
           
protected  JSessionSwitch JSessionLocal.bs
           
protected  JSessionSwitch JSessionRemote.bs
          bs
protected  JSessionSwitch JSessionFactory.uniqueSession
          Unique JSessionSwitch when singleswitch=true
 

Fields in org.ow2.jonas.lib.ejb21 with type parameters of type JSessionSwitch
protected  ArrayList<JSessionSwitch> JSessionFactory.sessionList
          Pool of free JSessionSwitch objects Used if singleswitch=false.
 

Methods in org.ow2.jonas.lib.ejb21 that return JSessionSwitch
 JSessionSwitch JSessionFactory.createEJB()
          Create a new Session Find one in the pool, or create a new object.
 JSessionSwitch JStatelessFactory.createNewSession()
          Creates a new Session Stateless
protected abstract  JSessionSwitch JSessionFactory.createNewSession()
           
 JSessionSwitch JStatefulFactory.createNewSession()
          Creates a new Session Stateful called back from createEJB
 JSessionSwitch JSessionLocal.getSessionSwitch()
           
 JSessionSwitch JSessionRemote.getSessionSwitch()
           
 

Methods in org.ow2.jonas.lib.ejb21 with parameters of type JSessionSwitch
 JSessionContext JStatelessFactory.getJContext(JSessionSwitch ss)
           
abstract  JSessionContext JSessionFactory.getJContext(JSessionSwitch ss)
           
 JSessionContext JStatefulFactory.getJContext(JSessionSwitch ss)
          get a new session context must call newInstance (EJB specs) => no pool should be used.
 void JSessionContext.initSessionContext(JSessionSwitch bs)
          Reinit Context for reuse
 void JSessionFactory.removeEJB(JSessionSwitch bs)
          remove a Session.
 void JServiceEndpoint.setSessionSwitch(JSessionSwitch bs)
          finish initialization
 void JSessionLocal.setSessionSwitch(JSessionSwitch bs)
          finish initialization
 void JSessionRemote.setSessionSwitch(JSessionSwitch bs)
          finish initialization
 



Copyright © 2010 OW2 Consortium. All Rights Reserved.