站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 messaging API Documentation 英文版文档

SpyTemporaryQueue (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档


org.jboss.mq
Class SpyTemporaryQueue

java.lang.Object
  extended byorg.jboss.mq.SpyDestination
      extended byorg.jboss.mq.SpyQueue
          extended byorg.jboss.mq.SpyTemporaryQueue
All Implemented Interfaces:
javax.jms.Destination, javax.jms.Queue, Referenceable, Serializable, javax.jms.TemporaryQueue

public class SpyTemporaryQueue
extends SpyQueue
implements javax.jms.TemporaryQueue

This class implements javax.jms.TemporaryQueue

Version:
$Revision: 1.7 $
Author:
Norbert Lataille (Norbert.Lataille@m4x.org), Hiram Chirino (Cojonudo14@hotmail.com), 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
SpyTemporaryQueue(String queueName, ConnectionToken dc_)
          Create a new SpyTemporaryQueue
 
Method Summary
 void delete()
           
 void setConnection(Connection con)
          Client-side temporary queues need a reference to the connection that created them in case delete() is called.
 
Methods inherited from class org.jboss.mq.SpyQueue
equals, getQueueName, getReference, 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
 
Methods inherited from interface javax.jms.Queue
getQueueName, toString
 

Constructor Detail

SpyTemporaryQueue

public SpyTemporaryQueue(String queueName,
                         ConnectionToken dc_)
Create a new SpyTemporaryQueue

Parameters:
queueName - the queue name
dc_ - the connection token
Method Detail

setConnection

public void setConnection(Connection con)
Client-side temporary queues need a reference to the connection that created them in case delete() is called.

Parameters:
con - the connection

delete

public void delete()
            throws javax.jms.JMSException
Specified by:
delete in interface javax.jms.TemporaryQueue
Throws:
javax.jms.JMSException


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