org.objectweb.jonas.container
Class MessageDrivenBean
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.objectweb.jonas.management.ReconfigDispatcher
org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
org.objectweb.jonas.container.EJB
org.objectweb.jonas.container.MessageDrivenBean
- All Implemented Interfaces:
- javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean
- public class MessageDrivenBean
- extends EJB
This class implements the MessageDrivenBean type specified in JSR77
- Author:
- Adriana Danes
Methods inherited from class org.objectweb.jonas.container.EJB |
getAllDataSourceName, getAllJMSConnectionFactoryName, getAllMailFactoryMName, getAllMailFactorySName, getAllURLs, getCurrentInstancePoolSize, getDisplayName, getEjbClass, getFileName, getHomeClass, getJndiName, getLocalClass, getLocalHomeClass, getName, getRemoteClass |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
handleNotification, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageDrivenBean
public MessageDrivenBean(java.lang.String objectName,
JMdbFactory factoryToManage)
- Parameters:
objectName
- JMX object namefactoryToManage
- JMdbFactory factory to manage
MessageDrivenBean
public MessageDrivenBean(java.lang.String objectName,
JMdbEndpointFactory factoryToManage)
- Parameters:
objectName
- JMX object namefactoryToManage
- JMdbEndpointFactory factory to manage
getMdbJMSAssociateDestinationName
public java.lang.String getMdbJMSAssociateDestinationName()
- Returns:
- the name of the associate destination
getAllJMSDestinationName
public java.util.Set getAllJMSDestinationName()
- return all the destination used by this ejb, including his associate destination
- Overrides:
getAllJMSDestinationName
in class EJB
- Returns:
- String set with the name of the Ejb Destinations
getMinPoolSize
public int getMinPoolSize()
- Returns:
- min-pool-size value
getMaxCacheSize
public int getMaxCacheSize()
- Returns:
- max-cache-size value
getCacheSize
public int getCacheSize()
- Returns:
- nb of instances (current cache size)
getPoolSize
public int getPoolSize()
- Returns:
- pool-size value