Package com.sun.messaging
Class Destination
java.lang.Object
com.sun.messaging.AdministeredObject
com.sun.messaging.Destination
- All Implemented Interfaces:
- jakarta.jms.Destination,- Serializable
- Direct Known Subclasses:
- BasicQueue,- BasicTopic
A 
Destination encapsulates Sun MQ specific configuration information for Sun MQ Destination
 objects.- See Also:
- 
Field SummaryFields inherited from class com.sun.messaging.AdministeredObjectAO_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 SummaryConstructorsConstructorDescriptionConstructs an "untitled" Destination.Destination(String name) Constructs a Destination given the name
- 
Method SummaryModifier and TypeMethodDescriptiongetName()Returns the name of this Destination.Returns the queue name.Returns the topic name.abstract booleanisQueue()Returns whether this is a Queueing type of Destination.abstract booleanReturns whether this is a Temporary type of Destination.voidSets the minimumDestinationconfiguration defaults required of a Sun MQ Destination identity object.toString()Returns a pretty printed version of the provider specific information for this Destination identity object.Validates aDestinationname.Methods inherited from class com.sun.messaging.AdministeredObjectdump, enumeratePropertyNames, getConfiguration, getCurrentConfiguration, getLabelForGroup, getPropertiesForGroup, getProperty, getPropertyForListValue, getPropertyGroups, getPropertyLabel, getPropertyListOtherName, getPropertyListValues, getPropertyType, getPropertyValueForListValue, getStoredVersion, getVERSION, isPropertyDeprecated, isPropertyHidden, isReadOnly, isStoredVersionCompatible, setProperty, setReadOnly, setStoredVersion
- 
Constructor Details- 
Destinationpublic Destination()Constructs an "untitled" Destination.
- 
DestinationConstructs a Destination given the name- Parameters:
- name- The name of the Destination
- Throws:
- jakarta.jms.InvalidDestinationException
- See Also:
 
 
- 
- 
Method Details- 
getNameReturns the name of this Destination.- Returns:
- the Destination name
 
- 
getQueueNameReturns the queue name.- Returns:
- the queue name
- Throws:
- jakarta.jms.JMSException- if a queue access error occurs.
 
- 
getTopicNameReturns the topic name.- Returns:
- the topic name
- Throws:
- jakarta.jms.JMSException- if a topic access error occurs.
 
- 
toStringReturns a pretty printed version of the provider specific information for this Destination identity object.- Overrides:
- toStringin class- AdministeredObject
- Returns:
- the pretty printed string.
 
- 
isQueuepublic abstract boolean isQueue()Returns whether this is a Queueing type of Destination.- Returns:
- whether this is a Queueing type of Destination.
 
- 
isTemporarypublic abstract boolean isTemporary()Returns whether this is a Temporary type of Destination.- Returns:
- whether this is a Temporary type of Destination.
 
- 
setDefaultConfigurationpublic void setDefaultConfiguration()Sets the minimumDestinationconfiguration defaults required of a Sun MQ Destination identity object.- Specified by:
- setDefaultConfigurationin class- AdministeredObject
 
- 
validate_imqDestinationNameValidates aDestinationname.- Parameters:
- name- The- Destinationname.
- Returns:
- trueif the name is valid;- falseif the name is invalid.
 
 
-