org.objectweb.jonas_lib.deployment.xml
Class MessageDestination
java.lang.Object
org.objectweb.jonas_lib.deployment.xml.AbsElement
org.objectweb.jonas_lib.deployment.xml.MessageDestination
- All Implemented Interfaces:
- java.io.Serializable, Element
public class MessageDestination
- extends AbsElement
This class defines the implementation of the element message-destination.
- Author:
- Eric Hardesty
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MessageDestination
public MessageDestination()
setMessageDestinationName
public void setMessageDestinationName(java.lang.String name)
- Sets the name
- Parameters:
name
- the name to use
getMessageDestinationName
public java.lang.String getMessageDestinationName()
- Returns:
- the name of the jonas-message-destination
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.