Package com.tibco.tibems.ufo
Class TibjmsUFOQueue
- java.lang.Object
- 
- com.tibco.tibems.ufo.TibjmsUFODestination
- 
- com.tibco.tibems.ufo.TibjmsUFOQueue
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- Destination,- Queue
 
 public class TibjmsUFOQueue extends com.tibco.tibems.ufo.TibjmsUFODestination implements Queue, java.lang.Cloneable Implementation of javax.jms.Queue which can be used for administrative purposes.
 
 Normally EMS applications look up Queue objects via JNDI calls. This class can be used by the administrator application if it is required to store TibjmsUFOQueue objects in the 3rd party JNDI store such as LDAP or similar.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description TibjmsUFOQueue()Constructs a new TibjmsUFOQueue object.TibjmsUFOQueue(TibjmsQueue queue)Constructs a new TibjmsUFOQueue object with the given TibjmsQueue object.TibjmsUFOQueue(java.lang.String address)Constructs a new TibjmsUFOQueue object with the given address.TibjmsUFOQueue(java.lang.String address, java.lang.String jndiName)Internal constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()java.lang.StringgetAddress()Gets the address of this queue.java.lang.StringgetQueueName()Gets the name of this queue.voidsetAddress(java.lang.String address)Sets the address of this queue.
 
- 
- 
- 
Constructor Detail- 
TibjmsUFOQueuepublic TibjmsUFOQueue() Constructs a new TibjmsUFOQueue object.
 - 
TibjmsUFOQueuepublic TibjmsUFOQueue(java.lang.String address) Constructs a new TibjmsUFOQueue object with the given address.- Parameters:
- address- address of the queue
 
 - 
TibjmsUFOQueuepublic TibjmsUFOQueue(java.lang.String address, java.lang.String jndiName)Internal constructor.
 - 
TibjmsUFOQueuepublic TibjmsUFOQueue(TibjmsQueue queue) Constructs a new TibjmsUFOQueue object with the given TibjmsQueue object.- Parameters:
- queue- object of TibjmsQueue
 
 
- 
 - 
Method Detail- 
clonepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException- Overrides:
- clonein class- com.tibco.tibems.ufo.TibjmsUFODestination
- Throws:
- java.lang.CloneNotSupportedException
 
 - 
getQueueNamepublic java.lang.String getQueueName() throws JMSExceptionDescription copied from interface:QueueGets the name of this queue.Clients that depend upon the name are not portable. - Specified by:
- getQueueNamein interface- Queue
- Returns:
- the queue name
- Throws:
- JMSException- if the Jakarta Messaging provider implementation of- Queuefails to return the queue name due to some internal error.
 
 - 
getAddresspublic java.lang.String getAddress() Gets the address of this queue. Address and name are synonyms.- Overrides:
- getAddressin class- com.tibco.tibems.ufo.TibjmsUFODestination
- Returns:
- the queue's address
 
 - 
setAddresspublic void setAddress(java.lang.String address) throws JMSExceptionSets the address of this queue. Address and name are synonyms.
 
 Example:
 
 TibjmsUFOQueue queue = new TibjmsUFOQueue();
 queue.setAddress("queue.sample");- Overrides:
- setAddressin class- com.tibco.tibems.ufo.TibjmsUFODestination
- Parameters:
- address- the string representing the address, or name, of this queue
- Throws:
- JMSException- if the address has already been set
 
 
- 
 
-