Package com.tibco.tibems.ufo
Class TibjmsUFOTopic
- java.lang.Object
- 
- com.tibco.tibems.ufo.TibjmsUFODestination
- 
- com.tibco.tibems.ufo.TibjmsUFOTopic
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- Destination,- Topic
 
 public class TibjmsUFOTopic extends com.tibco.tibems.ufo.TibjmsUFODestination implements Topic, java.lang.Cloneable Implementation of javax.jms.Topic which can be used for administrative purposes.
 
 Normally EMS applications look up 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.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description TibjmsUFOTopic()Constructs a new TibjmsUFOTopic object.TibjmsUFOTopic(TibjmsTopic topic)Constructs a new TibjmsUFOTopic object with the given TibjmsTopic 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.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()java.lang.StringgetAddress()Gets the address of this topic.java.lang.StringgetTopicName()Gets the name of this topic.voidsetAddress(java.lang.String address)Sets the address of this topic.
 
- 
- 
- 
Constructor Detail- 
TibjmsUFOTopicpublic TibjmsUFOTopic() Constructs a new TibjmsUFOTopic object.
 - 
TibjmsUFOTopicpublic TibjmsUFOTopic(java.lang.String address) Constructs a new TibjmsUFOTopic object with the given address.- Parameters:
- address- address of the topic
 
 - 
TibjmsUFOTopicpublic TibjmsUFOTopic(java.lang.String address, java.lang.String jndiName)Internal constructor.
 - 
TibjmsUFOTopicpublic TibjmsUFOTopic(TibjmsTopic topic) Constructs a new TibjmsUFOTopic object with the given TibjmsTopic object.- Parameters:
- topic- object of TibjmsTopic
 
 
- 
 - 
Method Detail- 
clonepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException- Overrides:
- clonein class- com.tibco.tibems.ufo.TibjmsUFODestination
- Throws:
- java.lang.CloneNotSupportedException
 
 - 
getTopicNamepublic java.lang.String getTopicName() throws JMSExceptionDescription copied from interface:TopicGets the name of this topic.Clients that depend upon the name are not portable. - Specified by:
- getTopicNamein interface- Topic
- Returns:
- the topic name
- Throws:
- JMSException- if the Jakarta Messaging provider implementation of- Topicfails to return the topic name due to some internal error.
 
 - 
getAddresspublic java.lang.String getAddress() Gets the address of this topic. Address and name are synonyms.- Overrides:
- getAddressin class- com.tibco.tibems.ufo.TibjmsUFODestination
- Returns:
- the topic's address
 
 - 
setAddresspublic void setAddress(java.lang.String address) throws JMSExceptionSets the address of this topic. Address and name are synonyms.
 
 Example:
 
 TibjmsUFOTopic topic = new TibjmsUFOTopic();
 topic.setAddress("topic.sample");- Overrides:
- setAddressin class- com.tibco.tibems.ufo.TibjmsUFODestination
- Parameters:
- address- the string representing the address, or name, of this topic
- Throws:
- JMSException- if the address has already been set
 
 
- 
 
-