org.jboss.jms.destination
Class JBossTopic

java.lang.Object
  extended byorg.jboss.jms.destination.JBossDestination (src) 
      extended byorg.jboss.jms.destination.JBossTopic
All Implemented Interfaces:
Destination (src) , javax.naming.Referenceable, java.io.Serializable, Topic (src)
Direct Known Subclasses:
JBossTemporaryTopic (src)

public class JBossTopic
extends JBossDestination (src)
implements Topic (src)

A topic

See Also:
Serialized Form

Constructor Summary
JBossTopic(java.lang.String name)
          Construct a new topic
 
Method Summary
 java.lang.String getTopicName()
          Gets the name of this topic.
 
Methods inherited from class org.jboss.jms.destination.JBossDestination (src)
equals, getName, getReference, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Topic (src)
toString
 

Constructor Detail

JBossTopic

public JBossTopic(java.lang.String name)
Construct a new topic

Method Detail

getTopicName

public java.lang.String getTopicName()
                              throws JMSException (src) 
Description copied from interface: Topic (src)
Gets the name of this topic.

Clients that depend upon the name are not portable.

Specified by:
getTopicName in interface Topic (src)
Returns:
the topic name
Throws:
JMSException (src) - if the JMS provider implementation of Topic fails to return the topic name due to some internal error.