Package com.sun.messaging
Class BasicTopic
java.lang.Object
com.sun.messaging.AdministeredObject
com.sun.messaging.Destination
com.sun.messaging.BasicTopic
- All Implemented Interfaces:
jakarta.jms.Destination
,jakarta.jms.Topic
,Serializable
- Direct Known Subclasses:
Topic
A
BasicTopic
represents an identity of a repository of messages used in the JMS Publish/Subscribe
messaging domain.- See Also:
-
Field 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, cachedConfigurationMap, configuration, configurationLabels, configurationTypes, cr, VERSION
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an identity of a Publish/Subscribe Topic with the default nameBasicTopic
(String name) Constructs an identity of a Publish/Subscribe Topic with the given name -
Method Summary
Methods inherited from class com.sun.messaging.Destination
getName, getQueueName, getTopicName, setDefaultConfiguration, toString, validate_imqDestinationName
Methods inherited from class com.sun.messaging.AdministeredObject
dump, enumeratePropertyNames, getConfiguration, getCurrentConfiguration, getLabelForGroup, getPropertiesForGroup, getProperty, getPropertyForListValue, getPropertyGroups, getPropertyLabel, getPropertyListOtherName, getPropertyListValues, getPropertyType, getPropertyValueForListValue, getStoredVersion, getVERSION, isPropertyDeprecated, isPropertyHidden, isReadOnly, isStoredVersionCompatible, setProperty, setReadOnly, setStoredVersion
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface jakarta.jms.Topic
getTopicName, toString
-
Constructor Details
-
BasicTopic
public BasicTopic()Constructs an identity of a Publish/Subscribe Topic with the default name -
BasicTopic
Constructs an identity of a Publish/Subscribe Topic with the given name- Parameters:
name
- The name of the Topic- Throws:
jakarta.jms.JMSException
-
-
Method Details
-
equals
Compares this Topic to the specified object. The result istrue
if and only if the arguement is notnull
and is aTopic
object with the same Topic Name as this object. -
hashCode
public int hashCode() -
isQueue
public boolean isQueue()Returns whether this is a Queueing type of Destination object- Specified by:
isQueue
in classDestination
- Returns:
- whether this is a Queueing type of Destination object
-
isTemporary
public boolean isTemporary()Returns whether this is a Temporary type of Destination object- Specified by:
isTemporary
in classDestination
- Returns:
- whether this is a Temporary type of Destination object
-