Inheritance diagram for org.objectweb.jonas_ejb.container.JMdbEndpointFactory:
Public Member Functions | |
JMdbEndpointFactory (MessageDrivenDesc dd, JContainer cont, ActivationSpec as) | |
JMdbEndpointFactory (MessageDrivenDesc dd, String destination, JContainer cont, ActivationSpec as) | |
void | initInstancePool () |
int | getPoolSize () |
void | stop () |
void | sync () |
JHome | getHome () |
JLocalHome | getLocalHome () |
MessageEndpoint | createEndpoint (XAResource xaResource) throws UnavailableException |
boolean | isDeliveryTransacted (Method method) throws NoSuchMethodException |
JMessageEndpoint | getMessageEndpoint () throws Exception |
void | releaseEndpoint (JMessageEndpoint ep) |
TimerService | getTimerService () |
int | getMinPoolSize () |
int | getMaxCacheSize () |
int | getCacheSize () |
int | getTransactionAttribute () |
void | checkTransaction (RequestCtx rctx) |
void | reduceCache () |
void | notifyTimeout (Timer timer) |
Protected Attributes | |
int | instanceCount = 0 |
int | minPoolSize = 0 |
int | maxCacheSize = 0 |
Definition at line 62 of file JMdbEndpointFactory.java.
|
Constructor
Definition at line 125 of file JMdbEndpointFactory.java. References org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getDestinationJndiName(), org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getJonasMdActivationConfigDesc(), and org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getMdActivationConfigDesc(). |
Here is the call graph for this function:
|
Constructor
Definition at line 147 of file JMdbEndpointFactory.java. References org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getMdActivationConfigDesc(). |
Here is the call graph for this function:
|
For Message Driven Beans, only 2 cases are possible: TX_REQUIRED or TX_NOT_SUPPORTED
Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 528 of file JMdbEndpointFactory.java. References org.objectweb.jonas_ejb.container.RequestCtx.clientTx, org.objectweb.jonas_ejb.container.RequestCtx.currTx, org.objectweb.jonas_ejb.container.RequestCtx.mustCommit, and org.objectweb.jonas_ejb.container.RequestCtx.txAttr. |
|
Create the message endpoint
Definition at line 406 of file JMdbEndpointFactory.java. References org.objectweb.jonas_ejb.container.JMessageEndpoint.mep. |
|
Definition at line 512 of file JMdbEndpointFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMdbEndpointFactory.reduceCache(), and org.objectweb.jonas_ejb.container.JMdbEndpointFactory.releaseEndpoint(). |
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 384 of file JMdbEndpointFactory.java. |
|
Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 391 of file JMdbEndpointFactory.java. |
|
Definition at line 505 of file JMdbEndpointFactory.java. |
|
Return an MessageEndpoint from the pool. If pool is empty, creates a new one.
Definition at line 454 of file JMdbEndpointFactory.java. |
|
Definition at line 498 of file JMdbEndpointFactory.java. |
|
Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 341 of file JMdbEndpointFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMdbEndpointFactory.releaseEndpoint(). |
|
Obtains the TimerService associated for this Bean
Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 487 of file JMdbEndpointFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMessageEndpoint.getTimerService(). |
|
Definition at line 519 of file JMdbEndpointFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMessageEndpoint.JMessageEndpoint(). |
|
Init pool of instances Implements org.objectweb.jonas_ejb.container.JFactory. Definition at line 335 of file JMdbEndpointFactory.java. |
|
Determine if the method is transacted
Definition at line 432 of file JMdbEndpointFactory.java. References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getMethodDesc(), org.objectweb.jonas_ejb.deployment.api.MethodDesc.getTxAttribute(), and org.objectweb.jonas_ejb.deployment.api.MethodDesc.TX_REQUIRED. |
Here is the call graph for this function:
|
Notify a timeout for this bean
Definition at line 595 of file JMdbEndpointFactory.java. References org.objectweb.jonas_ejb.container.JMessageEndpoint.deliverTimeout(), and org.objectweb.jonas_ejb.container.JMdbEndpointFactory.releaseEndpoint(). |
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 571 of file JMdbEndpointFactory.java. References org.objectweb.jonas_ejb.container.JMdbEndpointFactory.getCacheSize(), and org.objectweb.jonas_ejb.container.JMdbEndpointFactory.instanceCount. |
Here is the call graph for this function:
|
put the JMessageEndpoint back to the pool
Definition at line 464 of file JMdbEndpointFactory.java. References org.objectweb.jonas_ejb.container.JMdbEndpointFactory.getCacheSize(), org.objectweb.jonas_ejb.container.JMdbEndpointFactory.getPoolSize(), and org.objectweb.jonas_ejb.container.JMessageEndpoint.setReleasedState(). Referenced by org.objectweb.jonas_ejb.container.JMdbEndpointFactory.notifyTimeout(). |
Here is the call graph for this function:
|
stop this EJB. call deactivate on the Endpoint Stop the threads and remove the beans Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 349 of file JMdbEndpointFactory.java. References org.objectweb.jonas.resource.Rar.getResourceAdapter(), org.objectweb.jonas_ejb.container.JMdbEndpointFactory.instanceCount, and org.objectweb.jonas_ejb.container.JMessageEndpoint.mdb. |
Here is the call graph for this function:
|
synchronize bean instances if needed Implements org.objectweb.jonas_ejb.container.BeanFactory. Definition at line 378 of file JMdbEndpointFactory.java. |
|
count of the instances Definition at line 72 of file JMdbEndpointFactory.java. Referenced by org.objectweb.jonas_ejb.container.JMdbEndpointFactory.reduceCache(), and org.objectweb.jonas_ejb.container.JMdbEndpointFactory.stop(). |
|
maximum number of instances in the cache Definition at line 82 of file JMdbEndpointFactory.java. |
|
minimum pool size Definition at line 77 of file JMdbEndpointFactory.java. |