当前页面:
在线文档首页 >
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
org.jboss.mq.SpyDestination
org.jboss.mq.SpyQueue
org.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
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 interface javax.jms.Queue |
getQueueName, toString |
SpyTemporaryQueue
public SpyTemporaryQueue(String queueName,
ConnectionToken dc_)
- Create a new SpyTemporaryQueue
- Parameters:
queueName
- the queue namedc_
- the connection token
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.