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, javax.naming.Referenceable, java.io.Serializable, SoapObjectItf, javax.jms.TemporaryTopic, javax.jms.Topic

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
 
Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
id, instancesTable
 
Constructor Summary
TemporaryTopic()
          Constructs an empty temporary topic.
TemporaryTopic(java.lang.String agentId, Connection cnx)
          Constructs a temporary topic.
 
Method Summary
 java.lang.Object decode(java.util.Hashtable h)
          Decodes a TemporaryTopic which traveled through the SOAP protocol.
 void delete()
          API method.
 java.lang.String toString()
          Returns a String image of the topic.
 
Methods inherited from class org.objectweb.joram.client.jms.Topic
create, create, create, create, create, create, create, getClusterFellows, getHierarchicalFather, getSubscriptions, getTopicName
 
Methods inherited from class org.objectweb.joram.client.jms.Destination
code, doCreate, equals, getAdminName, getDMQ, getName, getReaders, getReference, getWriters, isFreelyReadable, isFreelyWriteable, isQueue, setDMQ, setFreeReading, setFreeWriting, setReader, setWriter, unsetFreeReading, unsetFreeWriting, unsetReader, unsetWriter
 
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
getInstance
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Topic
getTopicName
 

Constructor Detail

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.

TemporaryTopic

public TemporaryTopic()
Constructs an empty temporary topic.

Method Detail

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.

decode

public java.lang.Object decode(java.util.Hashtable h)
Decodes a TemporaryTopic which traveled through the SOAP protocol.

Specified by:
decode in interface SoapObjectItf
Overrides:
decode in class Topic


Copyright ? 2004 Scalagent - All rights reserved