org.objectweb.jonas_ejb.deployment.api
Class ResourceEnvRefDesc

java.lang.Object
  |
  +--org.objectweb.jonas_ejb.deployment.api.ResourceEnvRefDesc

public class ResourceEnvRefDesc
extends java.lang.Object

Class to hold meta-information related to resource-env-ref. The resource-env-ref element contains a declaration of enterprise bean's reference to an administered object associated with a resource in the enterprise bean's environment.
It consists of:

Author:
Helene Joanin, Christophe Ney [cney@batisseurs.com]

Constructor Summary
ResourceEnvRefDesc(java.lang.ClassLoader classLoader, org.objectweb.jonas_ejb.deployment.xml.ResourceEnvRef res, org.objectweb.jonas_ejb.deployment.xml.JonasResourceEnv jRes)
          constructor to be used by parent node
 
Method Summary
 java.lang.String getJndiName()
          Get the jndi name of the resource environment ref.
 java.lang.String getName()
          Get resource environment ref. name
 java.lang.Class getType()
          Get resource environment ref. type
 java.lang.String toString()
          String representation of the object for test purpose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceEnvRefDesc

public ResourceEnvRefDesc(java.lang.ClassLoader classLoader,
                          org.objectweb.jonas_ejb.deployment.xml.ResourceEnvRef res,
                          org.objectweb.jonas_ejb.deployment.xml.JonasResourceEnv jRes)
                   throws DeploymentDescException
constructor to be used by parent node
Method Detail

getName

public java.lang.String getName()
Get resource environment ref. name
Returns:
Name of the resource environment ref.

getType

public java.lang.Class getType()
Get resource environment ref. type
Returns:
Class of the resource environment ref.

getJndiName

public java.lang.String getJndiName()
Get the jndi name of the resource environment ref.
Returns:
String representation of the JNDI name

toString

public java.lang.String toString()
String representation of the object for test purpose
Overrides:
toString in class java.lang.Object
Returns:
String representation of this object