|
Message Queue, v4.4 API Specification | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.messaging.AdministeredObject
com.sun.messaging.Destination
com.sun.messaging.BasicTopic
com.sun.messaging.Topic
public class Topic
A Topic
represents an identity of a repository of messages
used in the JMS Publish/Subscribe messaging domain.
javax.jms.Topic
,
Serialized FormField Summary |
---|
Fields inherited from class com.sun.messaging.AdministeredObject |
---|
AO_PROPERTY_TYPE_BOOLEAN, AO_PROPERTY_TYPE_INTEGER, AO_PROPERTY_TYPE_LIST, AO_PROPERTY_TYPE_LONG, AO_PROPERTY_TYPE_PROPERTYOWNER, AO_PROPERTY_TYPE_STRING, configuration, configurationLabels, configurationTypes, cr, storedVersion, VERSION |
Constructor Summary | |
---|---|
Topic()
Constructs an identity of a Publish/Subscribe Topic with the default name |
|
Topic(java.lang.String name)
Constructs an identity of a Publish/Subscribe Topic with the given name |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the description for this Topic. |
javax.naming.Reference |
getReference()
Returns a Reference Object that can be used to reconstruct this object. |
void |
setDescription(java.lang.String description)
Sets a description for this Topic. |
void |
setName(java.lang.String name)
Sets the name of this Topic. |
Methods inherited from class com.sun.messaging.BasicTopic |
---|
equals, hashCode, isQueue, isTemporary |
Methods inherited from class com.sun.messaging.Destination |
---|
getName, getQueueName, getTopicName, setDefaultConfiguration, toString, validate_imqDestinationName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.Topic |
---|
getTopicName, toString |
Constructor Detail |
---|
public Topic()
public Topic(java.lang.String name) throws JMSException
name
- The name of the Topic
JMSException
Method Detail |
---|
public javax.naming.Reference getReference()
getReference
in interface javax.naming.Referenceable
public void setName(java.lang.String name)
name
- The name of the Topic
java.lang.IllegalArgumentException
- if name is invalidpublic void setDescription(java.lang.String description)
description
- The description for this Topicpublic java.lang.String getDescription()
|
Message Queue, v4.4 API Specification | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |