|
Message Queue, v4.5.1 API Specification | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.messaging.AdministeredObject
com.sun.messaging.Destination
public abstract class Destination
A Destination
encapsulates Sun MQ specific configuration information
for Sun MQ Destination
objects.
javax.jms.Destination
,
com.sun.messaging.DestinationConfiguration
,
Serialized FormField 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, storedVersion, VERSION |
Constructor Summary | |
---|---|
Destination()
Constructs an "untitled" Destination. |
|
Destination(String name)
Constructs a Destination given the name |
Method Summary | |
---|---|
String |
getName()
Returns the name of this Destination. |
String |
getQueueName()
Returns the queue name. |
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. |
String |
toString()
Returns a pretty printed version of the provider specific information for this Destination identity object. |
Boolean |
validate_imqDestinationName(String name)
Validates a Destination name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Destination()
public Destination(String name) throws InvalidDestinationException
name
- The name of the Destination
InvalidDestinationException
If name
is an invalid destination name
Method Detail |
---|
public String getName()
public String getQueueName() throws JMSException
JMSException
- if a queue access error occurs.public String getTopicName() throws JMSException
JMSException
- if a topic access error occurs.public String toString()
toString
in class AdministeredObject
public abstract boolean isQueue()
public abstract boolean isTemporary()
public void setDefaultConfiguration()
Destination
configuration defaults
required of a Sun MQ Destination identity object.
setDefaultConfiguration
in class AdministeredObject
public Boolean validate_imqDestinationName(String name)
Destination
name.
name
- The Destination
name.
true
if the name is valid;
false
if the name is invalid.
|
Message Queue, v4.5.1 API Specification | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |