public class TibjmsUFOTopic extends TibjmsUFODestination implements Topic, java.lang.Cloneable
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 TibjmsTopicpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic java.lang.String getTopicName()
throws JMSException
TopicClients that depend upon the name are not portable.
getTopicName in interface TopicJMSException - if the Jakarta Messaging 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 topicJMSException - if the address has already been setCopyright © Cloud Software Group, Inc. All rights reserved