org.objectweb.joram.client.jms

Class TemporaryTopic

Implemented Interfaces:
javax.jms.Destination, javax.naming.Referenceable, java.io.Serializable, javax.jms.TemporaryTopic, javax.jms.Topic, SoapObjectItf

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(String agentId, Connection cnx)
Constructs a temporary topic.

Method Summary

Object
decode(Hashtable h)
Decodes a TemporaryTopic which traveled through the SOAP protocol.
void
delete()
API method.
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, decode, getClusterFellows, getHierarchicalFather, getSubscriptions, getTopicName, toString

Methods inherited from class org.objectweb.joram.client.jms.Destination

code, delete, 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

code, getInstance, getReference

Constructor Details

TemporaryTopic

public TemporaryTopic()
Constructs an empty temporary topic.


TemporaryTopic

public TemporaryTopic(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 Details

decode

public Object decode(Hashtable h)
Decodes a TemporaryTopic which traveled through the SOAP protocol.
Specified by:
decode in interface SoapObjectItf
Overrides:
decode in interface Topic


delete

public void delete()
            throws JMSException
API method.
Overrides:
delete in interface Destination


toString

public String toString()
Returns a String image of the topic.
Overrides:
toString in interface Topic


Copyright B) 2004 Scalagent - All rights reserved