|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.jms.JmsTopic
public class JmsTopic
A Topic object encapsulates a provider-specific topic name. It is the way a client specifies the identity of a topic to JMS API methods. Many publish/subscribe (pub/sub) providers group topics into hierarchies and provide various options for subscribing to parts of the hierarchy.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
JmsTopic()
Adding a null constructor for the derived classes |
|
JmsTopic(byte[] topicBytes)
|
|
JmsTopic(String name)
|
|
| Method Summary | |
|---|---|
void |
delete()
|
boolean |
equals(Object obj)
Compares two objects for equality. |
byte[] |
getBytes()
|
String |
getTopicName()
Gets the name of this topic. |
int |
hashCode()
Generates a hash code for the receiver. |
static void |
main(String[] args)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JmsTopic()
public JmsTopic(byte[] topicBytes)
public JmsTopic(String name)
throws JMSException
JMSException| Method Detail |
|---|
public String getTopicName()
throws JMSException
getTopicName in interface TopicJMSExceptionpublic String toString()
toString in interface TopictoString in class Objectpublic byte[] getBytes()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - the Object to compare with
Hashtable
public void delete()
throws JMSException
delete in interface TemporaryTopicJMSExceptionpublic static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||