com.caucho.management.j2ee
Class JMSResource

java.lang.Object
  extended by com.caucho.management.j2ee.J2EEManagedObject
      extended by com.caucho.management.j2ee.J2EEResource
          extended by com.caucho.management.j2ee.JMSResource
All Implemented Interfaces:
StatisticsProvider<JMSStats>

public class JMSResource
extends J2EEResource
implements StatisticsProvider<JMSStats>

Management interface for a JMS resource.


Field Summary
 
Fields inherited from class com.caucho.management.j2ee.J2EEManagedObject
_objectName
 
Constructor Summary
JMSResource(ConnectionFactoryImpl connectionFactory)
           
 
Method Summary
protected  java.lang.String getName()
          Returns the value to use for the the `name' key of the ObjectName.
 JMSStats getStats()
          Returns the statistics for the managed object.
 
Methods inherited from class com.caucho.management.j2ee.J2EEManagedObject
createObjectName, getObjectName, isEventProvider, isJ2EEApplication, isJ2EEServer, isStateManageable, isStatisticsProvider, queryObjectNames, queryObjectNamesSet, quote, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSResource

public JMSResource(ConnectionFactoryImpl connectionFactory)
Method Detail

getName

protected java.lang.String getName()
Description copied from class: J2EEManagedObject
Returns the value to use for the the `name' key of the ObjectName. The returned value is raw, users of the method must escape the returned value for use in an ObjectName.

Specified by:
getName in class J2EEManagedObject

getStats

public JMSStats getStats()
Description copied from interface: StatisticsProvider
Returns the statistics for the managed object.

Specified by:
getStats in interface StatisticsProvider<JMSStats>