org.objectweb.jonas.resource
Class ResourceAdapterModule
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.objectweb.jonas.management.ReconfigDispatcher
org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
org.objectweb.jonas.management.j2eemanagement.J2EEDeployedObject
org.objectweb.jonas.management.j2eemanagement.J2EEModule
org.objectweb.jonas.resource.ResourceAdapterModule
- All Implemented Interfaces:
- javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean
public class ResourceAdapterModule
- extends J2EEModule
MBean class for ResourceAdapterModule management
- Author:
- Adriana Danes JSR 77 (J2EE Management Standard)
Constructor Summary |
ResourceAdapterModule(javax.management.ObjectName objectName,
boolean inEarCase,
java.net.URL earURL)
|
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 |
ResourceAdapterModule
public ResourceAdapterModule(javax.management.ObjectName objectName,
boolean inEarCase,
java.net.URL earURL)
getInEarCase
public boolean getInEarCase()
- Accessor the flag indicating if the resource adapter is in Ear.
- Returns:
- Flag if this resource adapter is in Ear
getEarURL
public java.net.URL getEarURL()
- Accessor the URL of the Ear if the resource adapter is in Ear.
- Returns:
- The URL of the Ear or null
getResourceAdapters
public java.lang.String[] getResourceAdapters()
setResourceAdapter
public void setResourceAdapter(java.lang.String resourceAdapterObjectName)
getFileName
public java.lang.String getFileName()
- Returns:
- Returns the fileName.
setFileName
public void setFileName(java.lang.String fileName)
- Parameters:
fileName
- The fileName to set.
getEarON
public java.lang.String getEarON()
- Returns:
- The J2EEApplication MBean OBJECT_NAME in ear case