当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
SpyTemporaryTopic (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
org.jboss.mq
Class SpyTemporaryTopic
java.lang.Object
   org.jboss.mq.SpyDestination
org.jboss.mq.SpyDestination
       org.jboss.mq.SpyTopic
org.jboss.mq.SpyTopic
           org.jboss.mq.SpyTemporaryTopic
org.jboss.mq.SpyTemporaryTopic
- All Implemented Interfaces: 
- javax.jms.Destination, Referenceable, Serializable, javax.jms.TemporaryTopic, javax.jms.Topic
- public class SpyTemporaryTopic- extends SpyTopic- implements javax.jms.TemporaryTopic
This class implements javax.jms.TemporaryTopic
- 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 topics need a reference to the connection that
 created them in case delete() is called.
 | 
 
 
 
 
| Methods inherited from interface javax.jms.Topic | 
| getTopicName, toString | 
 
SpyTemporaryTopic
public SpyTemporaryTopic(String topicName,
                         ConnectionToken dc_)
- Create a new SpyTemporaryTopic
 
- Parameters:
- topicName- the topic name
- dc_- the connection token
setConnection
public void setConnection(Connection con)
- Client-side temporary topics 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:
- deletein interface- javax.jms.TemporaryTopic
 
- 
- Throws:
- javax.jms.JMSException
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.