站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.jboss.mq.SpyDestination
      extended byorg.jboss.mq.SpyTopic
          extended byorg.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

Field Summary
 
Fields inherited from class org.jboss.mq.SpyTopic
durableSubscriptionID
 
Fields inherited from class org.jboss.mq.SpyDestination
hash, name, NULL, OBJECT, SPY_QUEUE, SPY_TEMP_QUEUE, SPY_TEMP_TOPIC, SPY_TOPIC
 
Constructor Summary
SpyTemporaryTopic(String topicName, ConnectionToken dc_)
          Create a new SpyTemporaryTopic
 
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 class org.jboss.mq.SpyTopic
equals, getDurableSubscriptionID, getReference, getTopicName, 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.Topic
getTopicName, toString
 

Constructor Detail

SpyTemporaryTopic

public SpyTemporaryTopic(String topicName,
                         ConnectionToken dc_)
Create a new SpyTemporaryTopic

Parameters:
topicName - the topic name
dc_ - the connection token
Method Detail

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:
delete in interface javax.jms.TemporaryTopic
Throws:
javax.jms.JMSException


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