org.objectweb.jonas_lib.deployment.api
Class MessageDestinationRefDesc

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.api.MessageDestinationRefDesc

public class MessageDestinationRefDesc
extends java.lang.Object

This class represents the description of a MessageDestinationRef object

Author:
Eric Hardesty

Constructor Summary
MessageDestinationRefDesc(MessageDestinationRef messageDestinationRef, JonasMessageDestinationRef jonasMessageDestinationRef)
          Construct a descriptor for an message-destination-ref tag.
 
Method Summary
 java.lang.String getJndiName()
          Get the jndi name of the message-destination-ref.
 java.lang.String getMessageDestinationLink()
          Get the message-destination-link
 java.lang.String getMessageDestinationRefName()
          Get the name of the message-destination-ref
 java.lang.String getMessageDestinationType()
          Get the message-destination-type.
 java.lang.String getMessageDestinationUsage()
          Get the message-destination-usage.
 void setJndiName(java.lang.String jndiName)
          Set the jndi name of the messageDestination-ref.
 java.lang.String toString()
          String representation of the object for test purpose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageDestinationRefDesc

public MessageDestinationRefDesc(MessageDestinationRef messageDestinationRef,
                                 JonasMessageDestinationRef jonasMessageDestinationRef)
                          throws DeploymentDescException
Construct a descriptor for an message-destination-ref tag.

Parameters:
messageDestinationRef - the messageDestination ref result of the xml parsing.
jonasMessageDestinationRef - the jonas messageDestinationRef result of the xml parsing.
Throws:
DeploymentDescException - when missing information for creating the MessageDestinationRefDesc.
Method Detail

getMessageDestinationRefName

public java.lang.String getMessageDestinationRefName()
Get the name of the message-destination-ref

Returns:
String representation of the message-destination-ref-name.

getMessageDestinationType

public java.lang.String getMessageDestinationType()
Get the message-destination-type.

Returns:
String representation of the message-destination-type.

getMessageDestinationUsage

public java.lang.String getMessageDestinationUsage()
Get the message-destination-usage.

Returns:
String representation of the message-destination-usage.

getMessageDestinationLink

public java.lang.String getMessageDestinationLink()
Get the message-destination-link

Returns:
String representation of the message-destination-link

getJndiName

public java.lang.String getJndiName()
Get the jndi name of the message-destination-ref.

Returns:
String representation of the JNDI name

setJndiName

public void setJndiName(java.lang.String jndiName)
Set the jndi name of the messageDestination-ref.

Parameters:
jndiName - representation of the JNDI name

toString

public java.lang.String toString()
String representation of the object for test purpose

Overrides:
toString in class java.lang.Object
Returns:
String representation of this object