org.objectweb.jonas_lib.deployment.xml
Class JonasResourceEnv
java.lang.Object
org.objectweb.jonas_lib.deployment.xml.AbsElement
org.objectweb.jonas_lib.deployment.xml.JonasResourceEnv
- All Implemented Interfaces:
- java.io.Serializable, Element
public class JonasResourceEnv
- extends AbsElement
This class defines the implementation of the element jonas-resource-env.
- Author:
- Florent Benoit
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JonasResourceEnv
public JonasResourceEnv()
setResourceEnvRefName
public void setResourceEnvRefName(java.lang.String resourceEnvRefName)
- Sets the name
- Parameters:
resourceEnvRefName
- the name to use
setJndiName
public void setJndiName(java.lang.String jndiName)
- Sets the jndi name
- Parameters:
jndiName
- the jndi-name to use
getResourceEnvRefName
public java.lang.String getResourceEnvRefName()
- Returns:
- the name of the jonas-resource-env
getJndiName
public java.lang.String getJndiName()
- Returns:
- the jndi-name of the jonas-resource-env
toXML
public java.lang.String toXML(int indent)
- Represents this element by it's XML description.
- Specified by:
toXML
in interface Element
- Specified by:
toXML
in class AbsElement
- Parameters:
indent
- use this indent for prexifing XML representation.
- Returns:
- the XML description of this object.