org.objectweb.jonas.resource.ResourceAdapter Class Reference

List of all members.

Public Member Functions

 ResourceAdapter (String objectName, Properties prop, String jndiname, String filename, boolean inEarCase, URL earURL)
Properties getProperties ()
String getJndiName ()
String getFileName ()
boolean getInEarCase ()
URL getEarURL ()
String getJcaResource ()
void setJcaResource (String jcaResourceObjectName)

Detailed Description

MBean class for ResourceAdapter management

Author:
Michel Bruno and Guillaume Riviere
Michel-Ange Anton (add 'filename', 'inEarCase', 'earURL' properties)
Adriana Danes JSR 77 (J2EE Management Standard)

Definition at line 41 of file ResourceAdapter.java.


Constructor & Destructor Documentation

org.objectweb.jonas.resource.ResourceAdapter.ResourceAdapter String  objectName,
Properties  prop,
String  jndiname,
String  filename,
boolean  inEarCase,
URL  earURL
 

Constructor

Parameters:
objectName String of J2EE Managed Object
prop Properties of RAR
jndiname String of RAR
filename String of RAR filename
inEarCase boolean if in an EAR file
earURL URL of EAR file

Definition at line 79 of file ResourceAdapter.java.


Member Function Documentation

URL org.objectweb.jonas.resource.ResourceAdapter.getEarURL  ) 
 

Accessor the URL of the Ear if the resource adapter is in Ear.

Returns:
The URL of the Ear or null

Definition at line 130 of file ResourceAdapter.java.

String org.objectweb.jonas.resource.ResourceAdapter.getFileName  ) 
 

Accessor the filename of the resource adapter.

Returns:
The filename

Definition at line 114 of file ResourceAdapter.java.

boolean org.objectweb.jonas.resource.ResourceAdapter.getInEarCase  ) 
 

Accessor the flag indicating if the resource adapter is in Ear.

Returns:
Flag if this resource adapter is in Ear

Definition at line 122 of file ResourceAdapter.java.

String org.objectweb.jonas.resource.ResourceAdapter.getJcaResource  ) 
 

return the jcaResourceObjectName

Returns:
String jcaResourceObjectName

Definition at line 138 of file ResourceAdapter.java.

String org.objectweb.jonas.resource.ResourceAdapter.getJndiName  ) 
 

return the jndi name

Returns:
String jndi name

Definition at line 106 of file ResourceAdapter.java.

Properties org.objectweb.jonas.resource.ResourceAdapter.getProperties  ) 
 

return the Adaptor Properties

Returns:
Properties adaptor properties

Definition at line 98 of file ResourceAdapter.java.

void org.objectweb.jonas.resource.ResourceAdapter.setJcaResource String  jcaResourceObjectName  ) 
 

set the jcaResourceObjectName

Parameters:
jcaResourceObjectName to set

Definition at line 146 of file ResourceAdapter.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:27 2005 for JOnAS by  doxygen 1.3.9.1