com.ibm.mq.jms
Class MQTemporaryQueue
- java.lang.Object
- com.ibm.msg.client.jms.internal.JmsReadablePropertyContextImpl
- com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
- com.ibm.msg.client.jms.admin.JmsDestinationImpl
- com.ibm.msg.client.jms.admin.JmsJndiDestinationImpl
- com.ibm.mq.jms.MQDestination
- com.ibm.mq.jms.MQQueue
- com.ibm.mq.jms.MQTemporaryQueue
All implemented interfaces:
JmsDestination, JmsPropertyContext, JmsQueue, JmsReadablePropertyContext, JmsTemporaryQueue, com.ibm.msg.client.provider.ProviderPropertyContextCallback, java.io.Serializable, java.util.Map<java.lang.String,java.lang.Object>, javax.jms.Destination, javax.jms.Queue, javax.jms.TemporaryQueue, javax.naming.Referenceable
- public class MQTemporaryQueue
- extends MQQueue
- implements javax.jms.TemporaryQueue, JmsTemporaryQueue
See Also:
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary
Fields inherited from interface com.ibm.msg.client.jms.JmsDestination |
---|
DESTINATION_TYPE_QUEUE, DESTINATION_TYPE_TOPIC |
Method Summary
Modifier and Type | Method and Description |
---|---|
|
delete()
Deletes this temporary queue.
|
|
equals(java.lang.Object obj)
Test for equality.
|
|
getObjectProperty(java.lang.String name)
Gets the Object property value with the given name.
|
|
getPropertyNames()
Gets all properties which have been set on a resource.
|
|
hashCode()
|
|
propertyExists(java.lang.String name)
Indicates whether a named property exists.
|
|
setBatchProperties(java.util.Map properties)
Sets multiple property values passed in via a Map.
|
|
setObjectProperty(java.lang.String name,java.lang.Object value)
Sets an Object property value with the given name.
|
|
toString()
Returns a string representation of this object
|
Methods inherited from class com.ibm.mq.jms.MQQueue |
---|
getQueueName |
Methods inherited from class com.ibm.msg.client.jms.admin.JmsDestinationImpl |
---|
getTopicName |
Methods inherited from class com.ibm.msg.client.jms.internal.JmsPropertyContextImpl |
---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setProviderPropertyContext, setShortProperty, setStringProperty, size, values |
Methods inherited from class com.ibm.msg.client.jms.internal.JmsReadablePropertyContextImpl |
---|
getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getShortProperty, getStringProperty |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.msg.client.jms.JmsPropertyContext |
---|
setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setShortProperty, setStringProperty |
Methods inherited from interface com.ibm.msg.client.jms.JmsReadablePropertyContext |
---|
getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getShortProperty, getStringProperty |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface javax.jms.Queue |
---|
getQueueName |
Methods inherited from interface javax.naming.Referenceable |
---|
getReference |
Method Detail
delete
- public void delete()
- throws javax.jms.JMSException
Deletes this temporary queue.
Specified by:
delete
in interface javax.jms.TemporaryQueue
Throws:
javax.jms.JMSException
- if the queue is in use, or if the command fails due to some internal
error setObjectProperty
- public void setObjectProperty(java.lang.String name,
- java.lang.Object value)
- throws javax.jms.JMSException
Sets an Object property value with the given name.
Specified by:
setObjectProperty
in interface JmsPropertyContext
Overrides:
setObjectProperty
in class com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
Parameters:
name
- the name of the Object property value
- the Object property value to set Throws:
javax.jms.JMSException
- if the property is marked read-only or if the proposed value is invalid
for the property getObjectProperty
- public java.lang.Object getObjectProperty( java.lang.String name)
- throws javax.jms.JMSException
Gets the Object property value with the given name.
Specified by:
getObjectProperty
in interface JmsReadablePropertyContext
Overrides:
getObjectProperty
in class com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
Parameters:
name
- the name of the property to be retrieved Returns:
the Object property value with the given name
Throws:
javax.jms.JMSException
- if the operation fails setBatchProperties
- public void setBatchProperties( java.util.Map properties)
- throws javax.jms.JMSException
Sets multiple property values passed in via a Map.
Specified by:
setBatchProperties
in interface JmsPropertyContext
Overrides:
setBatchProperties
in class com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
Parameters:
properties
- the Map of properties to set Throws:
javax.jms.JMSException
- if any property is marked read-only or if the proposed value is invalid
for any property getPropertyNames
- public java.util.Enumeration<?> getPropertyNames( )
- throws javax.jms.JMSException
Gets all properties which have been set on a resource.
Specified by:
getPropertyNames
in interface JmsReadablePropertyContext
Overrides:
getPropertyNames
in class com.ibm.msg.client.jms.internal.JmsReadablePropertyContextImpl
Returns:
the Enumeration of all set properties
Throws:
javax.jms.JMSException
- if the operation fails propertyExists
- public boolean propertyExists(java.lang.String name)
- throws javax.jms.JMSException
Indicates whether a named property exists.
Specified by:
propertyExists
in interface JmsReadablePropertyContext
Overrides:
propertyExists
in class com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
Parameters:
name
- the name of the property to be retrieved Returns:
true if the property exists, false if it does not.
Throws:
javax.jms.JMSException
- if the operation fails equals
- public boolean equals(java.lang.Object obj)
Test for equality.
Specified by:
equals
in interface java.util.Map<java.lang.String,java.lang.Object>
Overrides:
equals
in class com.ibm.msg.client.jms.admin.JmsDestinationImpl
Parameters:
obj
- the object to be compared with this object Returns:
a boolean indicating whether obj is equal to this object or not
hashCode
- public int hashCode()
Specified by:
hashCode
in interface java.util.Map<java.lang.String,java.lang.Object>
Overrides:
hashCode
in class com.ibm.msg.client.jms.admin.JmsDestinationImpl
toString
- public java.lang.String toString( )
Returns a string representation of this object
Returns:
the string representation of this object