org.jboss.jms.destination
Class JBossQueue

java.lang.Object
  extended byorg.jboss.jms.destination.JBossDestination (src) 
      extended byorg.jboss.jms.destination.JBossQueue
All Implemented Interfaces:
Destination (src) , Queue (src) , javax.naming.Referenceable, java.io.Serializable
Direct Known Subclasses:
JBossTemporaryQueue (src)

public class JBossQueue
extends JBossDestination (src)
implements Queue (src)

A queue

See Also:
Serialized Form

Constructor Summary
JBossQueue(java.lang.String name)
          Construct a new queue
 
Method Summary
 java.lang.String getQueueName()
          Gets the name of this queue.
 
Methods inherited from class org.jboss.jms.destination.JBossDestination (src)
equals, getName, getReference, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Queue (src)
toString
 

Constructor Detail

JBossQueue

public JBossQueue(java.lang.String name)
Construct a new queue

Method Detail

getQueueName

public java.lang.String getQueueName()
                              throws JMSException (src) 
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
Throws:
JMSException (src) - if the JMS provider implementation of Queue fails to return the queue name due to some internal error.