Inheritance diagram for org.objectweb.jonas_ejb.container.JMdbFactory:
Public Member Functions | |
JMdbFactory (MessageDrivenDesc dd, JContainer cont, ThreadPool thp) | |
void | initInstancePool () |
int | getPoolSize () |
void | stop () |
void | sync () |
JHome | getHome () |
JLocalHome | getLocalHome () |
ServerSession | getServerSession () throws JMSException |
void | releaseServerSession (ServerSession ss) |
TimerService | getTimerService () |
int | getMinPoolSize () |
int | getMaxCacheSize () |
int | getCacheSize () |
int | getTransactionAttribute () |
void | checkTransaction (RequestCtx rctx) |
void | reduceCache () |
void | notifyTimeout (Timer timer) |
Protected Attributes | |
ThreadPool | threadpool = null |
XATopicConnection | tconn = null |
XAQueueConnection | qconn = null |
Package Attributes | |
ConnectionConsumer | cc = null |
Definition at line 66 of file JMdbFactory.java.
|
Here is the call graph for this function:
|
For Message Driven Beans, only 2 cases are possible.
Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 344 of file JMdbFactory.java. References org.objectweb.jonas_ejb.container.RequestCtx.currTx, org.objectweb.jonas_ejb.container.RequestCtx.mustCommit, and org.objectweb.jonas_ejb.container.RequestCtx.txAttr. |
|
Definition at line 329 of file JMdbFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMdbFactory.reduceCache(), and org.objectweb.jonas_ejb.container.JMdbFactory.releaseServerSession(). |
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 239 of file JMdbFactory.java. |
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 246 of file JMdbFactory.java. |
|
Definition at line 321 of file JMdbFactory.java. |
|
Definition at line 313 of file JMdbFactory.java. |
|
Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 206 of file JMdbFactory.java. |
|
Return a server session from the pool. If pool is empty, creates a new one.
Definition at line 261 of file JMdbFactory.java. |
|
Obtains the TimerService associated for this Bean
Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 301 of file JMdbFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMessageDrivenBean.getTimerService(). |
|
Definition at line 336 of file JMdbFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMessageDrivenBean.JMessageDrivenBean(). |
|
Init pool of instances Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 183 of file JMdbFactory.java. References org.objectweb.jonas_ejb.container.JMessageDrivenBean.mdb. |
|
Notify a timeout for this bean
Definition at line 399 of file JMdbFactory.java. References org.objectweb.jonas_ejb.container.JMessageDrivenBean.deliverTimeout(), and org.objectweb.jonas_ejb.container.JMdbFactory.releaseServerSession(). |
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 371 of file JMdbFactory.java. References org.objectweb.jonas_ejb.container.JMdbFactory.getCacheSize(). |
Here is the call graph for this function:
|
put the ServerSession back to the pool
Definition at line 277 of file JMdbFactory.java. References org.objectweb.jonas_ejb.container.JMdbFactory.getCacheSize(), and org.objectweb.jonas_ejb.container.JMessageDrivenBean.mdb. Referenced by org.objectweb.jonas_ejb.container.JMdbFactory.notifyTimeout(), and org.objectweb.jonas_ejb.container.JMessageDrivenBean.run(). |
Here is the call graph for this function:
|
stop this EJB. call ejbRemove on all MDB close the connection consumer Stop the threads and remove the beans Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 216 of file JMdbFactory.java. References org.objectweb.jonas_ejb.container.JMdbFactory.cc, org.objectweb.jonas_ejb.container.JMessageDrivenBean.mdb, org.objectweb.jonas_ejb.container.JMdbFactory.qconn, and org.objectweb.jonas_ejb.container.JMdbFactory.tconn. |
|
synchronize bean instances if needed Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 232 of file JMdbFactory.java. |
|
Connection Consumer for this message driven bean Definition at line 76 of file JMdbFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMdbFactory.JMdbFactory(), and org.objectweb.jonas_ejb.container.JMdbFactory.stop(). |
|
JMS Queue Connection (Topic or Queue) always use XA Connections for transactions. Definition at line 104 of file JMdbFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMdbFactory.JMdbFactory(), and org.objectweb.jonas_ejb.container.JMdbFactory.stop(). |
|
JMS Topic Connection always use XA Connections for transactions. Definition at line 98 of file JMdbFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMdbFactory.JMdbFactory(), and org.objectweb.jonas_ejb.container.JMdbFactory.stop(). |
|
Threadpool used to run ServerSessions Definition at line 92 of file JMdbFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMdbFactory.JMdbFactory(). |