public abstract class Destination extends AdministeredObject implements javax.jms.Destination
Destination encapsulates Sun MQ specific configuration information for Sun MQ Destination
objects.javax.jms.Destination,
com.sun.messaging.DestinationConfiguration,
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 |
|---|
Destination()
Constructs an "untitled" Destination.
|
Destination(java.lang.String name)
Constructs a Destination given the name
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of this Destination.
|
java.lang.String |
getQueueName()
Returns the queue name.
|
java.lang.String |
getTopicName()
Returns the topic name.
|
abstract boolean |
isQueue()
Returns whether this is a Queueing type of Destination.
|
abstract boolean |
isTemporary()
Returns whether this is a Temporary type of Destination.
|
void |
setDefaultConfiguration()
Sets the minimum
Destination configuration defaults required of a Sun MQ Destination identity object. |
java.lang.String |
toString()
Returns a pretty printed version of the provider specific information for this Destination identity object.
|
java.lang.Boolean |
validate_imqDestinationName(java.lang.String name)
Validates a
Destination name. |
dump, enumeratePropertyNames, getConfiguration, getCurrentConfiguration, getLabelForGroup, getPropertiesForGroup, getProperty, getPropertyForListValue, getPropertyGroups, getPropertyLabel, getPropertyListOtherName, getPropertyListValues, getPropertyType, getPropertyValueForListValue, getStoredVersion, getVERSION, isPropertyDeprecated, isPropertyHidden, isReadOnly, isStoredVersionCompatible, setProperty, setReadOnlypublic Destination()
public Destination(java.lang.String name)
throws javax.jms.InvalidDestinationException
name - The name of the Destinationjavax.jms.InvalidDestinationExceptionIf name is an invalid destination namepublic java.lang.String getName()
public java.lang.String getQueueName()
throws javax.jms.JMSException
javax.jms.JMSException - if a queue access error occurs.public java.lang.String getTopicName()
throws javax.jms.JMSException
javax.jms.JMSException - if a topic access error occurs.public java.lang.String toString()
toString in class AdministeredObjectpublic abstract boolean isQueue()
public abstract boolean isTemporary()
public void setDefaultConfiguration()
Destination configuration defaults required of a Sun MQ Destination identity object.setDefaultConfiguration in class AdministeredObjectpublic java.lang.Boolean validate_imqDestinationName(java.lang.String name)
Destination name.name - The Destination name.true if the name is valid; false if the name is invalid.Copyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved.