org.jboss.mq
Class SpyQueue
java.lang.Object
org.jboss.mq.SpyDestination (src)
org.jboss.mq.SpyQueue
- All Implemented Interfaces:
- Destination (src) , Queue (src) , javax.naming.Referenceable, java.io.Serializable
- Direct Known Subclasses:
- SpyTemporaryQueue (src)
- public class SpyQueue
- extends SpyDestination (src)
- implements java.io.Serializable, Queue (src) , javax.naming.Referenceable
This class implements javax.jms.Queue
- See Also:
- Serialized Form
Constructor Summary |
SpyQueue(java.lang.String queueName)
Create a new SpyQueue |
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getQueueName()
Gets the name of this queue. |
javax.naming.Reference |
getReference()
|
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SpyQueue
public SpyQueue(java.lang.String queueName)
- Create a new SpyQueue
- Parameters:
queueName
- the queue name
getQueueName
public java.lang.String getQueueName()
- Description copied from interface:
Queue (src)
- Gets the name of this queue.
Clients that depend upon the name are not portable.
- Specified by:
getQueueName
in interface Queue (src)
- Returns:
- the queue name
getReference
public javax.naming.Reference getReference()
throws javax.naming.NamingException
- Specified by:
getReference
in interface javax.naming.Referenceable
- Throws:
javax.naming.NamingException
toString
public java.lang.String toString()
- Description copied from interface:
Queue (src)
- Returns a string representation of this object.
- Specified by:
toString
in interface Queue (src)
equals
public boolean equals(java.lang.Object obj)