org.ow2.jonas.deployment.common.xml
Class JonasMessageDestinationRef

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.JonasMessageDestinationRef
All Implemented Interfaces:
Serializable, Element

public class JonasMessageDestinationRef
extends AbsElement

This class defines the implementation of the element jonas-message-destination-ref.

Author:
Eric Hardesty
See Also:
Serialized Form

Constructor Summary
JonasMessageDestinationRef()
           
 
Method Summary
 String getJndiName()
           
 String getMessageDestinationRefName()
           
 void setJndiName(String jndiName)
          Sets the jndi name
 void setMessageDestinationRefName(String name)
          Sets the name
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JonasMessageDestinationRef

public JonasMessageDestinationRef()
Method Detail

setMessageDestinationRefName

public void setMessageDestinationRefName(String name)
Sets the name

Parameters:
name - the name to use

setJndiName

public void setJndiName(String jndiName)
Sets the jndi name

Parameters:
jndiName - the jndi-name to use

getMessageDestinationRefName

public String getMessageDestinationRefName()
Returns:
the name of the jonas-message-destination-ref

getJndiName

public String getJndiName()
Returns:
the jndi-name of the jonas-message-destination-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.