Inheritance diagram for org.objectweb.jonas_ejb.container.JStatelessFactory:
Public Member Functions | |
JStatelessFactory (SessionStatelessDesc dd, JContainer cont) | |
void | initInstancePool () |
int | getPoolSize () |
void | reduceCache () |
TimerService | getTimerService () |
JSessionSwitch | createNewSession () throws RemoteException |
JSessionContext | getJContext (JSessionSwitch ss) |
void | releaseJContext (JContext ctx) |
void | notifyTimeout (Timer timer) |
int | getMinPoolSize () |
int | getMaxCacheSize () |
int | getCacheSize () |
Protected Attributes | |
List | bctxlist = new ArrayList() |
Definition at line 54 of file JStatelessFactory.java.
|
constructor
Definition at line 82 of file JStatelessFactory.java. References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getCacheMax(), org.objectweb.jonas_ejb.container.JContainer.getClassLoader(), org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc.getFullWrpSEHomeName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getPoolMin(), and org.objectweb.jonas_ejb.container.JServiceEndpointHome.register(). |
Here is the call graph for this function:
|
Creates a new Session Stateless
Implements org.objectweb.jonas_ejb.container.JSessionFactory. Definition at line 222 of file JStatelessFactory.java. Referenced by org.objectweb.jonas_ejb.container.JStatelessFactory.initInstancePool(). |
|
Definition at line 380 of file JStatelessFactory.java. Referenced by org.objectweb.jonas_ejb.container.JStatelessFactory.getJContext(), org.objectweb.jonas_ejb.container.JStatelessFactory.reduceCache(), and org.objectweb.jonas_ejb.container.JStatelessFactory.releaseJContext(). |
|
Implements org.objectweb.jonas_ejb.container.JSessionFactory. Definition at line 231 of file JStatelessFactory.java. References org.objectweb.jonas_ejb.container.JStatelessFactory.bctxlist, org.objectweb.jonas_ejb.container.JStatelessFactory.getCacheSize(), and org.objectweb.jonas_ejb.container.JSessionContext.initSessionContext(). |
Here is the call graph for this function:
|
Definition at line 373 of file JStatelessFactory.java. |
|
Definition at line 366 of file JStatelessFactory.java. |
|
Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 171 of file JStatelessFactory.java. References org.objectweb.jonas_ejb.container.JStatelessFactory.bctxlist. |
|
Obtains the TimerService associated for this Bean
Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 210 of file JStatelessFactory.java. |
|
Init pool of instances. Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 130 of file JStatelessFactory.java. References org.objectweb.jonas_ejb.container.JStatelessFactory.bctxlist, org.objectweb.jonas_ejb.container.JStatelessFactory.createNewSession(), org.objectweb.jonas_ejb.container.JFactory.resetComponentContext(), and org.objectweb.jonas_ejb.container.JFactory.setComponentContext(). |
Here is the call graph for this function:
|
Notify a timeout for this bean
Definition at line 294 of file JStatelessFactory.java. References org.objectweb.jonas_ejb.container.JFactory.checkSecurity(), org.objectweb.jonas_ejb.container.RequestCtx.currTx, org.objectweb.jonas_ejb.container.JRemote.exportObject(), org.objectweb.jonas_ejb.container.JSessionSwitch.getICtx(), org.objectweb.jonas_ejb.container.JSessionContext.getInstance(), org.objectweb.jonas_ejb.container.JSessionSwitch.getRemote(), org.objectweb.jonas_ejb.container.JFactory.getTimerTxAttribute(), org.objectweb.jonas_ejb.container.JFactory.postInvoke(), org.objectweb.jonas_ejb.container.JFactory.preInvoke(), and org.objectweb.jonas_ejb.container.RequestCtx.sysExc. |
Here is the call graph for this function:
|
Reduce number of instances in memory in the free list we reduce to the minPoolSize Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 179 of file JStatelessFactory.java. References org.objectweb.jonas_ejb.container.JStatelessFactory.bctxlist, and org.objectweb.jonas_ejb.container.JStatelessFactory.getCacheSize(). |
Here is the call graph for this function:
|
Called after each method call
Definition at line 268 of file JStatelessFactory.java. References org.objectweb.jonas_ejb.container.JStatelessFactory.bctxlist, and org.objectweb.jonas_ejb.container.JStatelessFactory.getCacheSize(). |
Here is the call graph for this function:
|
instance pool management (list of available JSessionContext objects) Contexts are pooled only for Stateless Session beans because for Stateful sessions a newInstance() is required by the spec. Definition at line 61 of file JStatelessFactory.java. Referenced by org.objectweb.jonas_ejb.container.JStatelessFactory.getJContext(), org.objectweb.jonas_ejb.container.JStatelessFactory.getPoolSize(), org.objectweb.jonas_ejb.container.JStatelessFactory.initInstancePool(), org.objectweb.jonas_ejb.container.JStatelessFactory.reduceCache(), and org.objectweb.jonas_ejb.container.JStatelessFactory.releaseJContext(). |