net.sf.dropboxmq.destinations
Class QueueImpl

java.lang.Object
  extended by net.sf.dropboxmq.destinations.DestinationImpl
      extended by net.sf.dropboxmq.destinations.QueueImpl
All Implemented Interfaces:
Serializable, Destination, Queue
Direct Known Subclasses:
TemporaryQueueImpl

public class QueueImpl
extends DestinationImpl
implements Queue

Created: 09 Oct 2005

Version:
$Revision: 219 $, $Date: 2010-12-05 14:40:43 -0700 (Sun, 05 Dec 2010) $
Author:
Dwayne Schultz
See Also:
Serialized Form

Constructor Summary
QueueImpl()
           
QueueImpl(String name)
           
 
Method Summary
 String getQueueName()
          Gets the name of this queue.
 
Methods inherited from class net.sf.dropboxmq.destinations.DestinationImpl
getName, setName, toObjectString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.Queue
toString
 

Constructor Detail

QueueImpl

public QueueImpl()

QueueImpl

public QueueImpl(String name)
Method Detail

getQueueName

public String getQueueName()
                    throws JMSException
Description copied from interface: javax.jms.Queue
Gets the name of this queue.

Clients that depend upon the name are not portable.

Specified by:
getQueueName in interface Queue
Returns:
the queue name
Throws:
JMSException - if the JMS provider implementation of Queue fails to return the queue name due to some internal error.