Inherited by org.objectweb.jonas_ejb.container.JStatefulFactory, and org.objectweb.jonas_ejb.container.JStatelessFactory.
Inheritance diagram for org.objectweb.jonas_ejb.container.JSessionFactory:
Public Member Functions | |
JSessionFactory (SessionDesc dd, JContainer cont) | |
void | stop () |
void | sync () |
JHome | getHome () |
JLocalHome | getLocalHome () |
synchronized JSessionSwitch | createEJB () throws RemoteException |
synchronized void | removeEJB (JSessionSwitch bs) |
void | checkTransaction (RequestCtx rctx) |
boolean | isSessionSynchro () |
int | getTimeout () |
void | setTimeout (int t) |
boolean | isStateful () |
abstract JSessionContext | getJContext (JSessionSwitch ss) |
Definition at line 45 of file JSessionFactory.java.
|
constructor
Definition at line 66 of file JSessionFactory.java. References org.objectweb.jonas_ejb.container.JContainer.getClassLoader(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getFullWrpHomeName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getFullWrpLocalHomeName(), org.objectweb.jonas_ejb.deployment.api.SessionDesc.getSessionTimeout(), org.objectweb.jonas_ejb.deployment.api.SessionDesc.isBeanManagedTransaction(), org.objectweb.jonas_ejb.container.JLocalHome.register(), and org.objectweb.jonas_ejb.container.JHome.register(). |
Here is the call graph for this function:
|
Session beans can be container managed or bean managed transaction Session home don't check transactional context.
Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 235 of file JSessionFactory.java. References org.objectweb.jonas_ejb.container.JFactory.checkTransactionContainer(), and org.objectweb.jonas_ejb.container.RequestCtx.clientTx. |
Here is the call graph for this function:
|
Create a new Session Find one in the pool, or create a new object.
Definition at line 184 of file JSessionFactory.java. References org.objectweb.jonas_ejb.container.JRemote.exportObject(), org.objectweb.jonas_ejb.container.JSessionSwitch.getRemote(), and org.objectweb.jonas_ejb.container.JSessionSwitch.startTimer(). |
Here is the call graph for this function:
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 165 of file JSessionFactory.java. Referenced by org.objectweb.jonas_ejb.container.JSessionContext.JSessionContext(), and org.objectweb.jonas_ejb.container.JSessionSwitch.JSessionSwitch(). |
|
Implemented in org.objectweb.jonas_ejb.container.JStatefulFactory, and org.objectweb.jonas_ejb.container.JStatelessFactory. |
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 172 of file JSessionFactory.java. Referenced by org.objectweb.jonas_ejb.container.JSessionLocal.getEJBLocalHome(), org.objectweb.jonas_ejb.container.JSessionContext.JSessionContext(), and org.objectweb.jonas_ejb.container.JSessionSwitch.JSessionSwitch(). |
|
Definition at line 258 of file JSessionFactory.java. |
|
Definition at line 251 of file JSessionFactory.java. |
|
Definition at line 276 of file JSessionFactory.java. |
|
remove a Session. This may be called also on timeout. put it back in the pool for later use.
Definition at line 219 of file JSessionFactory.java. Referenced by org.objectweb.jonas_ejb.container.JStatelessSwitch.noLongerUsed(), and org.objectweb.jonas_ejb.container.JStatefulSwitch.noLongerUsed(). |
|
set the current timeout value for Jmx
Definition at line 266 of file JSessionFactory.java. |
|
stop this EJB. Mainly unregister it in JNDI. Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 143 of file JSessionFactory.java. References org.objectweb.jonas_ejb.container.JLocalHome.unregister(), and org.objectweb.jonas_ejb.container.JHome.unregister(). |
Here is the call graph for this function:
|
synchronize bean instances if needed Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 159 of file JSessionFactory.java. |