public class BasicTopic extends Destination implements Topic
BasicTopic
represents an identity of a repository of messages
used in the JMS Publish/Subscribe messaging domain.javax.jms.Topic
,
Serialized FormAO_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, storedVersion, VERSION
Constructor and Description |
---|
BasicTopic()
Constructs an identity of a Publish/Subscribe Topic with the default name
|
BasicTopic(java.lang.String name)
Constructs an identity of a Publish/Subscribe Topic with the given name
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object anObject)
Compares this Topic to the specified object.
|
int |
hashCode() |
boolean |
isQueue()
Returns whether this is a Queueing type of Destination object
|
boolean |
isTemporary()
Returns whether this is a Temporary type of Destination object
|
getName, getQueueName, getTopicName, setDefaultConfiguration, toString, validate_imqDestinationName
dump, enumeratePropertyNames, getConfiguration, getCurrentConfiguration, getLabelForGroup, getPropertiesForGroup, getProperty, getPropertyForListValue, getPropertyGroups, getPropertyLabel, getPropertyListOtherName, getPropertyListValues, getPropertyType, getPropertyValueForListValue, getStoredVersion, getVERSION, isPropertyDeprecated, isPropertyHidden, isReadOnly, isStoredVersionCompatible, setProperty, setReadOnly
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getTopicName, toString
public BasicTopic()
public BasicTopic(java.lang.String name) throws JMSException
name
- The name of the TopicJMSException
public boolean equals(java.lang.Object anObject)
true
if and only if the arguement is not
null
and is a Topic
object with the same
Topic Name as this object.equals
in class java.lang.Object
anObject
- The object to compare this Topic
against.true
if the object and this Topic
are equal;
false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
public boolean isQueue()
isQueue
in class Destination
public boolean isTemporary()
isTemporary
in class Destination
Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.