org.objectweb.jonas.resource
Class JCAResource

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.management.j2eemanagement.J2EEResource
                  extended by org.objectweb.jonas.resource.JCAResource
All Implemented Interfaces:
javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean

public class JCAResource
extends J2EEResource

MBean class for JCA Resource Management

Author:
Adriana Danes JSR 77 (J2EE Management Standard)

Field Summary
 
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
JCAResource(java.lang.String objectName)
          Constructor
 
Method Summary
 java.lang.String[] getActivationSpecs()
          Get the Activationspec names
 java.lang.String[] getAdminObjects()
          Get the AdminObject names
 java.lang.String[] getConnectionFactories()
          get the ConnectionFactory names
 void setActivationSpecs(java.lang.String activationSpecsObjectName)
          set the ActivationSpec name
 void setAdminObjects(java.lang.String adminObjectName)
          set the AdminObject name
 void setConnectionFactory(java.lang.String connectionFactoryObjectName)
          set the ConnectionFactory name
 
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

JCAResource

public JCAResource(java.lang.String objectName)
Constructor

Parameters:
objectName - String of object name
Method Detail

getActivationSpecs

public java.lang.String[] getActivationSpecs()
Get the Activationspec names

Returns:
String [] list of Activationspec names

getAdminObjects

public java.lang.String[] getAdminObjects()
Get the AdminObject names

Returns:
String [] list of AdminObject names

getConnectionFactories

public java.lang.String[] getConnectionFactories()
get the ConnectionFactory names

Returns:
String [] list of ConnectionFactory names

setAdminObjects

public void setAdminObjects(java.lang.String adminObjectName)
set the AdminObject name

Parameters:
adminObjectName - String of AdminObject name

setActivationSpecs

public void setActivationSpecs(java.lang.String activationSpecsObjectName)
set the ActivationSpec name

Parameters:
activationSpecsObjectName - String of activationSpecs name

setConnectionFactory

public void setConnectionFactory(java.lang.String connectionFactoryObjectName)
set the ConnectionFactory name

Parameters:
connectionFactoryObjectName - String of ConnectionFactory name