Package com.sun.messaging
Class BasicQueue
- java.lang.Object
-
- com.sun.messaging.AdministeredObject
-
- com.sun.messaging.Destination
-
- com.sun.messaging.BasicQueue
-
- All Implemented Interfaces:
jakarta.jms.Destination
,jakarta.jms.Queue
,java.io.Serializable
- Direct Known Subclasses:
Queue
public class BasicQueue extends Destination implements jakarta.jms.Queue
ABasicQueue
represents an identity of a repository of messages used in the JMS Point-To-Point messaging domain.- See Also:
jakarta.jms.Queue
, Serialized Form
-
-
Field 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, VERSION
-
-
Constructor Summary
Constructors Constructor Description BasicQueue()
Constructs an identity of a Point-To-Point Queue with the default nameBasicQueue(java.lang.String name)
Constructs an identity of a Point-To-Point Queue with the given name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object anObject)
Compares this Queue to the specified object.int
hashCode()
boolean
isQueue()
Returns whether this is a Queueing type of Destination objectboolean
isTemporary()
Returns whether this is a Temporary type of Destination object-
Methods inherited from class com.sun.messaging.Destination
getName, getQueueName, getTopicName, setDefaultConfiguration, toString, validate_imqDestinationName
-
Methods inherited from class com.sun.messaging.AdministeredObject
dump, enumeratePropertyNames, getConfiguration, getCurrentConfiguration, getLabelForGroup, getPropertiesForGroup, getProperty, getPropertyForListValue, getPropertyGroups, getPropertyLabel, getPropertyListOtherName, getPropertyListValues, getPropertyType, getPropertyValueForListValue, getStoredVersion, getVERSION, isPropertyDeprecated, isPropertyHidden, isReadOnly, isStoredVersionCompatible, setProperty, setReadOnly, setStoredVersion
-
-
-
-
Constructor Detail
-
BasicQueue
public BasicQueue()
Constructs an identity of a Point-To-Point Queue with the default name
-
BasicQueue
public BasicQueue(java.lang.String name) throws jakarta.jms.JMSException
Constructs an identity of a Point-To-Point Queue with the given name- Parameters:
name
- The name of the Queue- Throws:
jakarta.jms.JMSException
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object anObject)
Compares this Queue to the specified object. The result istrue
if and only if the arguement is notnull
and is aQueue
object with the same Queue Name as this object.- Overrides:
equals
in classjava.lang.Object
- Parameters:
anObject
- The object to compare thisQueue
against.- Returns:
true
if the object and thisQueue
are equal;false
otherwise.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
isQueue
public boolean isQueue()
Returns whether this is a Queueing type of Destination object- Specified by:
isQueue
in classDestination
- Returns:
- whether this is a Queueing type of Destination object
-
isTemporary
public boolean isTemporary()
Returns whether this is a Temporary type of Destination object- Specified by:
isTemporary
in classDestination
- Returns:
- whether this is a Temporary type of Destination object
-
-