org.ow2.jonas.ejb2.internal.mbean
Class MessageDrivenBean

java.lang.Object
  extended by org.ow2.jonas.lib.management.javaee.ManagedObject
      extended by org.ow2.jonas.lib.management.javaee.J2EEManagedObject
          extended by org.ow2.jonas.ejb2.internal.mbean.EJB
              extended by org.ow2.jonas.ejb2.internal.mbean.MessageDrivenBean

public class MessageDrivenBean
extends EJB

This class implements the MessageDrivenBean type specified in JSR77

Author:
Adriana Danes

Field Summary
 
Fields inherited from class org.ow2.jonas.ejb2.internal.mbean.EJB
desc, ejbToManage, fileName
 
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.management.javaee.ManagedObject
logger
 
Constructor Summary
MessageDrivenBean(String objectName, JFactory factoryToManage, JmxService jmx)
           
 
Method Summary
 Set getAllJMSDestinationName()
          return all the destination used by this ejb, including his associate destination
 String getMdbJMSAssociateDestinationName()
           
 void reduceCache()
          Reduce number of instances in memory
 
Methods inherited from class org.ow2.jonas.ejb2.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, setEventProvider, setObjectName, setStateManageable, setStatisticsProvider
 
Methods inherited from class org.ow2.jonas.lib.management.javaee.ManagedObject
sendNotification, sendReconfigNotification, sendSaveNotification, setModelMBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageDrivenBean

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

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 © 2010 OW2 Consortium. All Rights Reserved.