org.ow2.jonas.deployment.common
Class MessageDestinationRefDesc

java.lang.Object
  extended by org.ow2.jonas.deployment.common.MessageDestinationRefDesc
All Implemented Interfaces:
IMessageDestinationRefDesc

public class MessageDestinationRefDesc
extends Object
implements IMessageDestinationRefDesc

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
 String getJndiName()
          Get the jndi name of the message-destination-ref.
 String getMessageDestinationLink()
          Get the message-destination-link.
 String getMessageDestinationRefName()
          Get the name of the message-destination-ref.
 String getMessageDestinationType()
          Get the message-destination-type.
 String getMessageDestinationUsage()
          Get the message-destination-usage.
 void setJndiName(String jndiName)
          Set the jndi name of the messageDestination-ref.
 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 String getMessageDestinationRefName()
Description copied from interface: IMessageDestinationRefDesc
Get the name of the message-destination-ref.

Specified by:
getMessageDestinationRefName in interface IMessageDestinationRefDesc
Returns:
String representation of the message-destination-ref-name.

getMessageDestinationType

public String getMessageDestinationType()
Description copied from interface: IMessageDestinationRefDesc
Get the message-destination-type.

Specified by:
getMessageDestinationType in interface IMessageDestinationRefDesc
Returns:
String representation of the message-destination-type.

getMessageDestinationUsage

public String getMessageDestinationUsage()
Description copied from interface: IMessageDestinationRefDesc
Get the message-destination-usage.

Specified by:
getMessageDestinationUsage in interface IMessageDestinationRefDesc
Returns:
String representation of the message-destination-usage.

getMessageDestinationLink

public String getMessageDestinationLink()
Description copied from interface: IMessageDestinationRefDesc
Get the message-destination-link.

Specified by:
getMessageDestinationLink in interface IMessageDestinationRefDesc
Returns:
String representation of the message-destination-link

getJndiName

public String getJndiName()
Description copied from interface: IMessageDestinationRefDesc
Get the jndi name of the message-destination-ref.

Specified by:
getJndiName in interface IMessageDestinationRefDesc
Returns:
String representation of the JNDI name

setJndiName

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

Parameters:
jndiName - representation of the JNDI name

toString

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

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.