com.caucho.management.j2ee
Class JCAResource

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

public class JCAResource
extends J2EEResource
implements StatisticsProvider<JCAStats>

Management interface for a JCA resource.


Field Summary
 
Fields inherited from class com.caucho.management.j2ee.J2EEManagedObject
_objectName
 
Constructor Summary
JCAResource()
           
 
Method Summary
 java.lang.String[] getConnectionFactories()
          Returns the ObjectNames of the JCAConnectionFactory management beans that are contained within this resource.
protected  java.lang.String getName()
          Returns the value to use for the the `name' key of the ObjectName.
 JCAStats 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

JCAResource

public JCAResource()
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

getConnectionFactories

public java.lang.String[] getConnectionFactories()
Returns the ObjectNames of the JCAConnectionFactory management beans that are contained within this resource.


getStats

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

Specified by:
getStats in interface StatisticsProvider<JCAStats>