February 2002
Beginner to intermediate
544 pages
10h 23m
English
The Topic interface inherits from the interface javax.jms.Destination, which has no fields or methods. The following methods are defined in the interface javax.jms.Topic.
public java.lang.String getTopicName()
Gets the name of this topic.
Clients that depend upon the name are not portable.
RETURNS:
the topic name
THROWS:
JMSException if the JMS provider implementation of Topic fails to return the topic name due to some internal error
public java.lang.String toString()
Returns a string representation of this object.
OVERRIDES:
toString() in class java.lang.Object
RETURNS:
the provider-specific identity values for this topic
Read now
Unlock full access