org.objectweb.joram.client.jms

Class TemporaryQueue

Implemented Interfaces:
javax.jms.Destination, javax.jms.Queue, javax.naming.Referenceable, java.io.Serializable, javax.jms.TemporaryQueue, SoapObjectItf

public class TemporaryQueue
extends Queue
implements javax.jms.TemporaryQueue

Implements the javax.jms.TemporaryQueue 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

TemporaryQueue()
Constructs an empty temporary queue.
TemporaryQueue(String agentId, Connection cnx)
Constructs a temporary queue.

Method Summary

Object
decode(Hashtable h)
Decodes a TemporaryQueue which traveled through the SOAP protocol.
void
delete()
API method.
Connection
getCnx()
Returns the connection this temporary queue belongs to, null if not known.
String
toString()
Returns a String image of the queue.

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

create, create, create, create, create, create, create, decode, getPendingMessages, getPendingRequests, getQueueName, getThreshold, setThreshold, 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

TemporaryQueue

public TemporaryQueue()
Constructs an empty temporary queue.


TemporaryQueue

public TemporaryQueue(String agentId,
                      Connection cnx)
Constructs a temporary queue.

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

Method Details

decode

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


delete

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


getCnx

public Connection getCnx()
Returns the connection this temporary queue belongs to, null if not known.


toString

public String toString()
Returns a String image of the queue.
Overrides:
toString in interface Queue


Copyright B) 2004 Scalagent - All rights reserved