net.sf.dropboxmq.destinations
Class TopicImpl

java.lang.Object
  extended by net.sf.dropboxmq.destinations.DestinationImpl
      extended by net.sf.dropboxmq.destinations.TopicImpl
All Implemented Interfaces:
Serializable, Destination, Topic
Direct Known Subclasses:
TemporaryTopicImpl

public class TopicImpl
extends DestinationImpl
implements Topic

Created: 10 Mar 2006

Version:
$Revision: 219 $, $Date: 2010-12-05 14:40:43 -0700 (Sun, 05 Dec 2010) $
Author:
Dwayne Schultz
See Also:
Serialized Form

Constructor Summary
TopicImpl()
           
TopicImpl(String name)
           
 
Method Summary
 String getTopicName()
          Gets the name of this topic.
 
Methods inherited from class net.sf.dropboxmq.destinations.DestinationImpl
getName, setName, toObjectString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Topic
toString
 

Constructor Detail

TopicImpl

public TopicImpl()

TopicImpl

public TopicImpl(String name)
Method Detail

getTopicName

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

Clients that depend upon the name are not portable.

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