|
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.TibjmsUFOTopic
public class TibjmsUFOTopic
Implementation of javax.jms.Topic which can be used for administrative
purposes.
Normally JMS applications lookup Topic objects via JNDI calls. This class
can be used by the administrator application if it is required to store
TibjmsUFOTopic objects in the 3rd party JNDI store such as LDAP or similar.
Constructor Summary | |
---|---|
TibjmsUFOTopic()
Constructs a new TibjmsUFOTopic object. |
|
TibjmsUFOTopic(java.lang.String address)
Constructs a new TibjmsUFOTopic object with the given address. |
|
TibjmsUFOTopic(java.lang.String address,
java.lang.String jndiName)
Internal constructor. |
|
TibjmsUFOTopic(TibjmsTopic topic)
Constructs a new TibjmsUFOTopic object with the given TibjmsTopic object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.String |
getAddress()
Gets the address of this topic. |
java.lang.String |
getTopicName()
Gets the name of this topic. |
void |
setAddress(java.lang.String address)
Sets the address of this topic. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.Topic |
---|
toString |
Constructor Detail |
---|
public TibjmsUFOTopic()
public TibjmsUFOTopic(java.lang.String address)
address
- address of the topicpublic TibjmsUFOTopic(java.lang.String address, java.lang.String jndiName)
public TibjmsUFOTopic(TibjmsTopic topic)
topic
- object of TibjmsTopicMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public java.lang.String getTopicName() throws JMSException
Topic
Clients that depend upon the name are not portable.
getTopicName
in interface Topic
JMSException
- if the JMS provider implementation of
Topic
fails to return the topic
name due to some internal
error.public java.lang.String getAddress()
public void setAddress(java.lang.String address) throws JMSException
TibjmsUFOTopic topic = new TibjmsUFOTopic();
topic.setAddress("topic.sample");
address
- the string representing the address, or name, of this topic
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 |