org.jboss.jms.serverless
Class GroupTopic

java.lang.Object
  extended byorg.jboss.jms.serverless.GroupTopic
All Implemented Interfaces:
Destination (src) , Topic (src)

public class GroupTopic
extends java.lang.Object
implements Topic (src)


Constructor Summary
GroupTopic(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getTopicName()
          Gets the name of this topic.
 int hashCode()
           
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupTopic

public GroupTopic(java.lang.String name)
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.

toString

public java.lang.String toString()
Description copied from interface: Topic (src)
Returns a string representation of this object.

Specified by:
toString in interface Topic (src)

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()