org.huihoo.jfox.ms.jms.queue
Class TemporaryQueueImpl

java.lang.Object
  extended byorg.huihoo.jfox.ms.jms.base.DestinationImpl
      extended byorg.huihoo.jfox.ms.jms.queue.QueueImpl
          extended byorg.huihoo.jfox.ms.jms.queue.TemporaryQueueImpl
All Implemented Interfaces:
javax.jms.Destination, javax.jms.Queue, javax.naming.Referenceable, java.io.Serializable, javax.jms.TemporaryQueue

public class TemporaryQueueImpl
extends QueueImpl
implements javax.jms.TemporaryQueue

This class implements the JMS temporary queue. A TemporaryQueue object is a unique Queue object created for the duration of a QueueConnection. It is a system-defined queue that can be consumed only by the QueueConnection that created it.

Version:
Revision: 1.1 Date: 2003-05-20 21:48:11
Author:
Peter.Cheng
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.huihoo.jfox.ms.jms.base.DestinationImpl
QUEUE, TOPIC
 
Constructor Summary
TemporaryQueueImpl(ConnectionImpl connection, java.lang.String name)
           
 
Method Summary
 void delete()
          Deletes this temporary queue.
 
Methods inherited from class org.huihoo.jfox.ms.jms.queue.QueueImpl
getQueueName, getReference
 
Methods inherited from class org.huihoo.jfox.ms.jms.base.DestinationImpl
getName, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Queue
getQueueName, toString
 

Constructor Detail

TemporaryQueueImpl

public TemporaryQueueImpl(ConnectionImpl connection,
                          java.lang.String name)
Method Detail

delete

public void delete()
            throws javax.jms.JMSException
Deletes this temporary queue. If there are existing receivers still using it, a JMSException will be thrown.

Specified by:
delete in interface javax.jms.TemporaryQueue
Throws:
javax.jms.JMSException


Copyright © 2002-2003 Open Enterprise Foundation. All Rights Reserved.