com.sun.messaging
public class Queue extends BasicQueue implements javax.naming.Referenceable
Queue
represents an identity of a repository of messages
used in the JMS Point-To-Point messaging domain.javax.jms.Queue
,
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 |
---|
Queue()
Constructs an identity of a Point-To-Point Queue with the default name
|
Queue(java.lang.String name)
Constructs an identity of a Point-To-Point Queue with the given name
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description for this Queue.
|
javax.naming.Reference |
getReference()
Returns a Reference Object that can be used to reconstruct this object.
|
void |
setDescription(java.lang.String description)
Sets a description for this Queue.
|
void |
setName(java.lang.String name)
Sets the name of the Queue.
|
equals, hashCode, isQueue, isTemporary
getName, getQueueName, getTopicName, setDefaultConfiguration, toString, validate_imqDestinationName
dump, enumeratePropertyNames, getConfiguration, getCurrentConfiguration, getLabelForGroup, getPropertiesForGroup, getProperty, getPropertyForListValue, getPropertyGroups, getPropertyLabel, getPropertyListOtherName, getPropertyListValues, getPropertyType, getPropertyValueForListValue, getStoredVersion, getVERSION, isPropertyDeprecated, isPropertyHidden, isReadOnly, isStoredVersionCompatible, setProperty, setReadOnly
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getQueueName, toString
public Queue()
public Queue(java.lang.String name) throws JMSException
name
- The name of the QueueJMSException
public javax.naming.Reference getReference()
getReference
in interface javax.naming.Referenceable
public void setName(java.lang.String name)
name
- The name of the Queuejava.lang.IllegalArgumentException
- if name is invalidpublic void setDescription(java.lang.String description)
description
- The description for this Queuepublic java.lang.String getDescription()
Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.