org.ow2.jonas.ejb.internal.mbean
Class MessageDrivenBean
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.ow2.jonas.lib.reconfig.ReconfigEmitter
org.ow2.jonas.lib.management.javaee.J2EEManagedObject
org.ow2.jonas.ejb.internal.mbean.EJB
org.ow2.jonas.ejb.internal.mbean.MessageDrivenBean
- All Implemented Interfaces:
- NotificationBroadcaster, NotificationEmitter
public class MessageDrivenBean
- extends EJB
This class implements the MessageDrivenBean type specified in JSR77
- Author:
- Adriana Danes
| Fields inherited from class org.ow2.jonas.lib.management.javaee.J2EEManagedObject |
J2EE_TYPE_APPLICATION, J2EE_TYPE_SERVER, NAME |
| Fields inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
|
Constructor Summary |
MessageDrivenBean(String objectName,
org.ow2.jonas.lib.ejb21.JFactory factoryToManage,
org.ow2.jonas.jmx.JmxService jmx)
|
| Methods inherited from class org.ow2.jonas.ejb.internal.mbean.EJB |
getAllDataSourceName, getAllJdbcResourceAdapterName, getAllJMSConnectionFactoryName, getAllMailFactoryMName, getAllMailFactorySName, getAllURLs, getCacheSize, getDisplayName, getEjbClass, getFileName, getHomeClass, getJndiName, getLocalClass, getLocalHomeClass, getMaxCacheSize, getMinPoolSize, getName, getPoolSize, getRemoteClass, reduceCacheSize |
| Methods inherited from class org.ow2.jonas.lib.management.javaee.J2EEManagedObject |
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider |
| Methods inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
initLogger, sendReconfigNotification, sendSaveNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageDrivenBean
public MessageDrivenBean(String objectName,
org.ow2.jonas.lib.ejb21.JFactory factoryToManage,
org.ow2.jonas.jmx.JmxService jmx)
- Parameters:
objectName - JMX object namefactoryToManage - JFactory factory to manage
getMdbJMSAssociateDestinationName
public String getMdbJMSAssociateDestinationName()
- Returns:
- the name of the associate destination
getAllJMSDestinationName
public 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
reduceCache
public void reduceCache()
- Reduce number of instances in memory
Copyright © 2008 OW2 Consortium. All Rights Reserved.