org.jboss.mq
Class SpyQueue

java.lang.Object
  extended by org.jboss.mq.SpyDestination
      extended by org.jboss.mq.SpyQueue
All Implemented Interfaces:
Serializable, javax.jms.Destination, javax.jms.Queue, Referenceable
Direct Known Subclasses:
SpyTemporaryQueue

public class SpyQueue
extends SpyDestination
implements Serializable, javax.jms.Queue, Referenceable

This class implements javax.jms.Queue

Version:
$Revision: 1.6 $
Author:
Norbert Lataille (Norbert.Lataille@m4x.org), Hiram Chirino (Cojonudo14@hotmail.com), David Maplesden (David.Maplesden@orion.co.nz), Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.mq.SpyDestination
hash, name, NULL, OBJECT, SPY_QUEUE, SPY_TEMP_QUEUE, SPY_TEMP_TOPIC, SPY_TOPIC
 
Constructor Summary
SpyQueue(String queueName)
          Create a new SpyQueue
 
Method Summary
 boolean equals(Object obj)
           
 String getQueueName()
           
 Reference getReference()
           
 String toString()
           
 
Methods inherited from class org.jboss.mq.SpyDestination
getName, hashCode, readDest, writeDest
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpyQueue

public SpyQueue(String queueName)
Create a new SpyQueue

Parameters:
queueName - the queue name
Method Detail

getQueueName

public String getQueueName()
Specified by:
getQueueName in interface javax.jms.Queue

getReference

public Reference getReference()
                       throws NamingException
Specified by:
getReference in interface Referenceable
Throws:
NamingException

toString

public String toString()
Specified by:
toString in interface javax.jms.Queue
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.