org.objectweb.jonas_lib.deployment.xml
Class JonasResource
java.lang.Object
org.objectweb.jonas_lib.deployment.xml.AbsElement
org.objectweb.jonas_lib.deployment.xml.JonasResource
- All Implemented Interfaces:
- Serializable, Element
public class JonasResource
- extends AbsElement
This class defines the implementation of the element jonas-resource.
- Author:
- Florent Benoit
- See Also:
- Serialized Form
JonasResource
public JonasResource()
setResRefName
public void setResRefName(String resRefName)
- Sets the name
- Parameters:
resRefName
- the name to use
setJndiName
public void setJndiName(String jndiName)
- Sets the jndi name
- Parameters:
jndiName
- the jndi-name to use
getResRefName
public String getResRefName()
- Returns:
- the name of the jonas-resource
getJndiName
public String getJndiName()
- Returns:
- the jndi-name of the jonas-resource
toXML
public 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.
Copyright © 2007 OW2 Consortium. All Rights Reserved.