org.objectweb.jonas.resource
Class ResourceAdapter
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.objectweb.jonas.management.ReconfigDispatcher
org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
org.objectweb.jonas.resource.ResourceAdapter
- All Implemented Interfaces:
- javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean
- public class ResourceAdapter
- extends J2EEManagedObject
MBean class for ResourceAdapter management
- Author:
- Michel Bruno and Guillaume Riviere
Constructor Summary |
ResourceAdapter(java.lang.String objectName,
java.util.Properties prop,
java.lang.String jndiname,
java.lang.String filename,
boolean inEarCase,
java.net.URL earURL)
|
Method Summary |
java.net.URL |
getEarURL()
Accessor the URL of the Ear if the resource adapter is in Ear. |
java.lang.String |
getFileName()
Accessor the filename of the resource adapter. |
boolean |
getInEarCase()
Accessor the flag indicating if the resource adapter is in Ear. |
java.lang.String |
getJcaResource()
|
java.lang.String |
getJndiName()
return the jndi name |
java.util.Properties |
getProperties()
return the Adaptator Properties |
void |
setJcaResource(java.lang.String jcaResourceObjectName)
|
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 |
ResourceAdapter
public ResourceAdapter(java.lang.String objectName,
java.util.Properties prop,
java.lang.String jndiname,
java.lang.String filename,
boolean inEarCase,
java.net.URL earURL)
getProperties
public java.util.Properties getProperties()
- return the Adaptator Properties
getJndiName
public java.lang.String getJndiName()
- return the jndi name
getFileName
public java.lang.String getFileName()
- Accessor the filename of the resource adapter.
- Returns:
- The filename
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
getJcaResource
public java.lang.String getJcaResource()
setJcaResource
public void setJcaResource(java.lang.String jcaResourceObjectName)