org.jboss.jms.destination
Class JBossTemporaryTopic

java.lang.Object
  extended byorg.jboss.jms.destination.JBossDestination (src) 
      extended byorg.jboss.jms.destination.JBossTopic (src) 
          extended byorg.jboss.jms.destination.JBossTemporaryTopic
All Implemented Interfaces:
Destination (src) , JBossTemporaryDestination (src) , javax.naming.Referenceable, java.io.Serializable, TemporaryTopic (src) , Topic (src)

public class JBossTemporaryTopic
extends JBossTopic (src)
implements TemporaryTopic (src) , JBossTemporaryDestination (src)

A temporary topic

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.jboss.jms.destination.JBossTemporaryDestination (src)
TEMPORARY_QUEUE, TEMPORARY_TOPIC
 
Constructor Summary
JBossTemporaryTopic(ConnectionDelegate (src)  delegate, java.lang.String name)
          Construct a new temporary topic
 
Method Summary
 void delete()
          Deletes this temporary topic.
 
Methods inherited from class org.jboss.jms.destination.JBossTopic (src)
getTopicName
 
Methods inherited from class org.jboss.jms.destination.JBossDestination (src)
equals, getName, getReference, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Topic (src)
getTopicName, toString
 

Constructor Detail

JBossTemporaryTopic

public JBossTemporaryTopic(ConnectionDelegate (src)  delegate,
                           java.lang.String name)
Construct a new temporary topic

Parameters:
delegate - the connection
name - the name
Method Detail

delete

public void delete()
            throws JMSException (src) 
Description copied from interface: TemporaryTopic (src)
Deletes this temporary topic. If there are existing subscribers still using it, a JMSException will be thrown.

Specified by:
delete in interface TemporaryTopic (src)
Throws:
JMSException (src) - if the JMS provider fails to delete the temporary topic due to some internal error.