org.jboss.mq
Class SpyQueue

java.lang.Object
  extended byorg.jboss.mq.SpyDestination (src) 
      extended byorg.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

Field Summary
 
Fields inherited from class org.jboss.mq.SpyDestination (src)
hash, name, NULL, OBJECT, SPY_QUEUE, SPY_TEMP_QUEUE, SPY_TEMP_TOPIC, SPY_TOPIC
 
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 org.jboss.mq.SpyDestination (src)
getName, hashCode, readDest, writeDest
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpyQueue

public SpyQueue(java.lang.String queueName)
Create a new SpyQueue

Parameters:
queueName - the queue name
Method Detail

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)