org.ow2.jonas.deployment.common.xml
Class JonasEjbRef
java.lang.Object
org.ow2.jonas.deployment.common.xml.AbsElement
org.ow2.jonas.deployment.common.xml.JonasEjbRef
- All Implemented Interfaces:
- Serializable, Element
public class JonasEjbRef
- extends AbsElement
This class defines the implementation of the element jonas-ejb-ref.
- Author:
- Florent Benoit
- See Also:
- Serialized Form
JonasEjbRef
public JonasEjbRef()
setEjbRefName
public void setEjbRefName(String ejbRefName)
- Sets the name
- Parameters:
ejbRefName
- the name to use
setJndiName
public void setJndiName(String jndiName)
- Sets the jndi name
- Parameters:
jndiName
- the jndi-name to use
getEjbRefName
public String getEjbRefName()
- Returns:
- the name of the jonas-ejb-ref
getJndiName
public String getJndiName()
- Returns:
- the jndi-name of the jonas-ejb-ref
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 © 2010 OW2 Consortium. All Rights Reserved.