JTR 5.0 API Documentation

jtr.config.jms
Class JMSDestination

java.lang.Object
  extended by jtr.config.jms.JMSDestination
All Implemented Interfaces:
java.io.Serializable

public class JMSDestination
extends java.lang.Object
implements java.io.Serializable

This class is the object oriented representation of both every queue and topic jtr.xml configuration file's element.
It logically maps itself to either a javax.jms.Queue or javax.jms.Topic.

Since:
1.1
Version:
5.0
Author:
Francesco Russo (frusso@dev.java.net)
See Also:
Serialized Form

Constructor Summary
JMSDestination()
          The default constructor.
JMSDestination(java.lang.String jndi, java.lang.String property)
          A parameterized constructor.
 
Method Summary
 java.lang.String getJndi()
          Get the destination JNDI name
 java.lang.String getProperty()
          Get the name of the runner property that will hold the actual JMS destination once created
 void setJndi(java.lang.String jndi)
          Set the destination JNDI name
 void setProperty(java.lang.String property)
          Set the name of the runner property that will hold the actual JMS destination once created
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSDestination

public JMSDestination()
The default constructor.


JMSDestination

public JMSDestination(java.lang.String jndi,
                      java.lang.String property)
A parameterized constructor.

Parameters:
jndi - The destination's JNDI name
property - The name of the runner property that will hold the actual JMS destination once created
Method Detail

setJndi

public void setJndi(java.lang.String jndi)
Set the destination JNDI name

Parameters:
jndi - The JNDI name

getJndi

public java.lang.String getJndi()
Get the destination JNDI name

Returns:
String The JNDI name

setProperty

public void setProperty(java.lang.String property)
Set the name of the runner property that will hold the actual JMS destination once created

Parameters:
property - The property name

getProperty

public java.lang.String getProperty()
Get the name of the runner property that will hold the actual JMS destination once created

Returns:
String The property name

The JTR Project is licensed under GPL version 2