com.j_spaces.jms
Class GSTopicImpl
java.lang.Object
  
com.j_spaces.jms.GSTopicImpl
- All Implemented Interfaces: 
 - Serializable, Remote, Destination, Topic
 
- Direct Known Subclasses: 
 - GSTemporaryTopicImpl
 
public class GSTopicImpl
- extends Object
- implements Topic, Serializable, Remote
  
GigaSpaces implementation of the javax.jms.Topic interface. 
 
 A Topic object encapsulates a provider-specific topic name.
 In our case, the Topic name represents the GigaSpaces entry name.
 
 It is the way a client specifies the identity of a topic to JMS API methods.
 For those methods that use a Destination as a parameter, a 
 Topic object may used as an argument . For 
 example, a Topic can be used to create a MessageConsumer
 and a MessageProducer
 by calling:
-  
Session.CreateConsumer(Destination destination)
 -  
Session.CreateProducer(Destination destination)
 
 Many publish/subscribe (pub/sub) providers group topics into hierarchies 
 and provide various options for subscribing to parts of the hierarchy. The 
 JMS API places no restriction on what a Topic object 
 represents. It may be a leaf in a topic hierarchy, or it may be a larger 
 part of the hierarchy.
- See Also:
 - Serialized Form
 
 
 
 
GSTopicImpl
public GSTopicImpl(String topicName)
- Parameters:
 topicName - 
getTopicName
public String getTopicName()
                    throws JMSException
- Specified by:
 getTopicName in interface Topic
 
- Returns:
 - String m_TopicName
 - Throws:
 JMSException- See Also:
 Topic.getTopicName()
 
toString
public String toString()
- Specified by:
 toString in interface Topic- Overrides:
 toString in class Object
 
 
equals
public boolean equals(Object obj)
- Overrides:
 equals in class Object
 
- See Also:
 Using the Destination name and return true if its equals to the 
 passed Destination name.
 That enables indexing and partitioning capabilities.
 
hashCode
public int hashCode()
- Overrides:
 hashCode in class Object
 
- See Also:
 Using the Destination name and return its hashcode.
 That enables indexing and partitioning capabilities.