org.objectweb.joram.client.jms.admin

Class ClusterQueue

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

public class ClusterQueue
extends ClusterDestination
implements javax.jms.Queue

this is a sample.

See Also:
Serialized Form

Field Summary

Fields inherited from class org.objectweb.joram.client.jms.admin.ClusterDestination

cluster

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

ClusterQueue()
Constructs an empty queue.
ClusterQueue(Hashtable cluster)
Constructs a cluster queue.

Method Summary

Object
decode(Hashtable h)
Decodes a Queue which traveled through the SOAP protocol.
Destination
getDestination()
return the appropriate destination of cluster
String
getQueueName()
API method.
String
toString()
Returns a String image of the cluster queue.

Methods inherited from class org.objectweb.joram.client.jms.admin.ClusterDestination

code, equals, getCluster, getDestination, getName, getReference, init

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

ClusterQueue

public ClusterQueue()
Constructs an empty queue.


ClusterQueue

public ClusterQueue(Hashtable cluster)
Constructs a cluster queue.

Parameters:
cluster - Hashtable of the cluster agent destination.

Method Details

decode

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


getDestination

public Destination getDestination()
return the appropriate destination of cluster
Overrides:
getDestination in interface ClusterDestination


getQueueName

public String getQueueName()
            throws JMSException
API method.


toString

public String toString()
Returns a String image of the cluster queue.


Copyright B) 2004 Scalagent - All rights reserved