Joram ${version}

org.objectweb.joram.client.jms
Class TemporaryTopic

java.lang.Object
  extended byorg.objectweb.joram.client.jms.admin.AdministeredObject
      extended byorg.objectweb.joram.client.jms.Destination
          extended byorg.objectweb.joram.client.jms.Topic
              extended byorg.objectweb.joram.client.jms.TemporaryTopic
All Implemented Interfaces:
javax.jms.Destination, DestinationMBean, javax.naming.Referenceable, java.io.Serializable, fr.dyade.aaa.jndi2.soap.SoapObjectItf, javax.jms.TemporaryTopic, javax.jms.Topic, TopicMBean

public class TemporaryTopic
extends Topic
implements javax.jms.TemporaryTopic

Implements the javax.jms.TemporaryTopic interface.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.client.jms.Destination
adminName, agentId
 
Constructor Summary
TemporaryTopic()
           
TemporaryTopic(java.lang.String agentId, Connection cnx)
          Constructs a temporary topic.
 
Method Summary
 void delete()
          API method.
static boolean isTemporaryTopic(java.lang.String type)
           
 java.lang.String toString()
          Returns a String image of the topic.
 
Methods inherited from class org.objectweb.joram.client.jms.Topic
addClusteredTopic, create, create, create, create, create, create, create, getClusterFellows, getHierarchicalFather, getSubscriberIds, getSubscriptions, getTopicName, isTopic, removeFromCluster, setParent, unsetParent
 
Methods inherited from class org.objectweb.joram.client.jms.Destination
addReader, addWriter, code, decode, doCreate, equals, getAdminName, getDMQ, getName, getReaderList, getReaders, getReference, getStatistic, getType, getWriterList, getWriters, isAssignableTo, isFreelyReadable, isFreelyWriteable, isQueue, newInstance, removeReader, removeWriter, setDMQ, setFreelyReadable, setFreelyWriteable, setFreeReading, setFreeWriting, setReader, setWriter, unsetFreeReading, unsetFreeWriting, unsetReader, unsetWriter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Topic
getTopicName
 
Methods inherited from interface org.objectweb.joram.client.jms.DestinationMBean
addReader, addWriter, getAdminName, getDMQ, getName, getReaderList, getStatistic, getType, getWriterList, isFreelyReadable, isFreelyWriteable, isQueue, removeReader, removeWriter, setDMQ, setFreelyReadable, setFreelyWriteable
 

Constructor Detail

TemporaryTopic

public TemporaryTopic()

TemporaryTopic

public TemporaryTopic(java.lang.String agentId,
                      Connection cnx)
Constructs a temporary topic.

Parameters:
agentId - Identifier of the topic agent.
cnx - The connection the queue belongs to, null if not known.
Method Detail

isTemporaryTopic

public static boolean isTemporaryTopic(java.lang.String type)

toString

public java.lang.String toString()
Returns a String image of the topic.

Specified by:
toString in interface javax.jms.Topic
Overrides:
toString in class Topic

delete

public void delete()
            throws javax.jms.JMSException
API method.

Specified by:
delete in interface javax.jms.TemporaryTopic
Overrides:
delete in class Destination
Throws:
java.lang.IllegalStateException - If the connection is closed or broken.
javax.jms.JMSException - If the request fails for any other reason.

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved