org.objectweb.jonas.container
Class MessageDrivenBean

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.objectweb.jonas.management.ReconfigDispatcher
          extended by org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
              extended by org.objectweb.jonas.container.EJB
                  extended by 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

Field Summary
 
Fields inherited from class org.objectweb.jonas.container.EJB
desc, ejbToManage, fileName
 
Fields inherited from class org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
J2EE_TYPE_APPLICATION, J2EE_TYPE_SERVER, NAME
 
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher
RECONFIG_TYPE, SAVE_RECONFIG_TYPE
 
Constructor Summary
MessageDrivenBean(java.lang.String objectName, JFactory factoryToManage)
           
 
Method Summary
 java.util.Set getAllJMSDestinationName()
          return all the destination used by this ejb, including his associate destination
 java.lang.String getMdbJMSAssociateDestinationName()
           
 void reduceCache()
          Reduce number of instances in memory
 
Methods inherited from class org.objectweb.jonas.container.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.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider
 
Methods inherited from class org.objectweb.jonas.management.ReconfigDispatcher
addNotificationListener, getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification
 
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
 

Constructor Detail

MessageDrivenBean

public MessageDrivenBean(java.lang.String objectName,
                         JFactory factoryToManage)
Parameters:
objectName - JMX object name
factoryToManage - JFactory factory to manage
Method Detail

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

reduceCache

public void reduceCache()
Reduce number of instances in memory