|
TIBCO Enterprise Message Service | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTibjmsUFODestination
com.tibco.tibems.ufo.TibjmsUFOQueue
public class TibjmsUFOQueue
Implementation of javax.jms.Queue which can be used for administrative
purposes.
Normally JMS applications lookup 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.
Constructor Summary | |
---|---|
TibjmsUFOQueue()
Constructs a new TibjmsUFOQueue 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. |
|
TibjmsUFOQueue(TibjmsQueue queue)
Constructs a new TibjmsUFOQueue object with the given TibjmsQueue object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAddress()
Gets the address of this queue. |
java.lang.String |
getQueueName()
Gets the name of this queue. |
void |
setAddress(java.lang.String address)
Sets the address of this queue. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TibjmsUFOQueue()
public TibjmsUFOQueue(java.lang.String address)
address
- address of the queuepublic TibjmsUFOQueue(java.lang.String address, java.lang.String jndiName)
public TibjmsUFOQueue(TibjmsQueue queue)
queue
- object of TibjmsQueueMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public boolean equals(java.lang.Object obj)
public java.lang.String getQueueName() throws JMSException
Queue
Clients that depend upon the name are not portable.
getQueueName
in interface Queue
JMSException
- if the JMS provider implementation of
Queue
fails to return the queue
name due to some internal
error.public java.lang.String toString()
Queue
toString
in interface Queue
public java.lang.String getAddress()
public void setAddress(java.lang.String address) throws JMSException
TibjmsUFOQueue queue = new TibjmsUFOQueue();
queue.setAddress("queue.sample");
address
- the string representing the address, or name, of this queue
JMSException
- if the address has already been set
|
TIBCO Enterprise Message Service | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |