public class Topic extends BasicTopic implements Referenceable
Topic 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 |
|---|
Topic()
Constructs an identity of a Publish/Subscribe Topic with the default name
|
Topic(String name)
Constructs an identity of a Publish/Subscribe Topic with the given name
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the description for this Topic.
|
Reference |
getReference()
Returns a Reference Object that can be used to reconstruct this object.
|
void |
setDescription(String description)
Sets a description for this Topic.
|
void |
setName(String name)
Sets the name of this Topic.
|
equals, hashCode, isQueue, isTemporarygetName, getQueueName, getTopicName, setDefaultConfiguration, toString, validate_imqDestinationNamedump, enumeratePropertyNames, getConfiguration, getCurrentConfiguration, getLabelForGroup, getPropertiesForGroup, getProperty, getPropertyForListValue, getPropertyGroups, getPropertyLabel, getPropertyListOtherName, getPropertyListValues, getPropertyType, getPropertyValueForListValue, getStoredVersion, getVERSION, isPropertyDeprecated, isPropertyHidden, isReadOnly, isStoredVersionCompatible, setProperty, setReadOnlyclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetTopicName, toStringpublic Topic()
public Topic(String name) throws JMSException
name - The name of the TopicJMSExceptionpublic Reference getReference()
getReference in interface Referenceablepublic void setName(String name)
name - The name of the TopicIllegalArgumentException - if name is invalidpublic void setDescription(String description)
description - The description for this Topicpublic String getDescription()
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.