|
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
com.sun.messaging.BasicQueue
com.sun.messaging.Queue
public class Queue
A Queue
represents an identity of a repository of messages
used in the JMS Point-To-Point messaging domain.
javax.jms.Queue
,
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 | |
---|---|
Queue()
Constructs an identity of a Point-To-Point Queue with the default name |
|
Queue(String name)
Constructs an identity of a Point-To-Point Queue with the given name |
Method Summary | |
---|---|
String |
getDescription()
Returns the description for this Queue. |
Reference |
getReference()
Returns a Reference Object that can be used to reconstruct this object. |
void |
setDescription(String description)
Sets a description for this Queue. |
void |
setName(String name)
Sets the name of the Queue. |
Methods inherited from class com.sun.messaging.BasicQueue |
---|
equals, hashCode, isQueue, isTemporary |
Methods inherited from class com.sun.messaging.Destination |
---|
getName, getQueueName, getTopicName, setDefaultConfiguration, toString, validate_imqDestinationName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.Queue |
---|
getQueueName, toString |
Constructor Detail |
---|
public Queue()
public Queue(String name) throws JMSException
name
- The name of the Queue
JMSException
Method Detail |
---|
public Reference getReference()
getReference
in interface Referenceable
public void setName(String name)
name
- The name of the Queue
IllegalArgumentException
- if name is invalidpublic void setDescription(String description)
description
- The description for this Queuepublic String getDescription()
|
Message Queue, v4.5.1 API Specification | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |