org.objectweb.joram.client.jms.admin
Class ClusterQueue
java.lang.Object
org.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.Destination
org.objectweb.joram.client.jms.admin.ClusterDestination
org.objectweb.joram.client.jms.admin.ClusterQueue
- All 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
Constructor Summary |
ClusterQueue()
Constructs an empty queue. |
ClusterQueue(java.util.Hashtable cluster)
Constructs a cluster queue. |
Method Summary |
java.lang.Object |
decode(java.util.Hashtable h)
Decodes a Queue which traveled through the SOAP protocol. |
Destination |
getDestination()
return the appropriate destination of cluster |
java.lang.String |
getQueueName()
API method. |
java.lang.String |
toString()
Returns a String image of the cluster queue. |
Methods inherited from class org.objectweb.joram.client.jms.Destination |
delete, doCreate, getAdminName, getDMQ, getReaders, getWriters, isFreelyReadable, isFreelyWriteable, isQueue, setDMQ, setFreeReading, setFreeWriting, setReader, setWriter, unsetFreeReading, unsetFreeWriting, unsetReader, unsetWriter |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClusterQueue
public ClusterQueue(java.util.Hashtable cluster)
- Constructs a cluster queue.
- Parameters:
cluster
- Hashtable of the cluster agent destination.
ClusterQueue
public ClusterQueue()
- Constructs an empty queue.
getDestination
public Destination getDestination()
- return the appropriate destination of cluster
- Specified by:
getDestination
in class ClusterDestination
toString
public java.lang.String toString()
- Returns a String image of the cluster queue.
- Specified by:
toString
in interface javax.jms.Queue
getQueueName
public java.lang.String getQueueName()
throws javax.jms.JMSException
- API method.
- Specified by:
getQueueName
in interface javax.jms.Queue
- Throws:
javax.jms.JMSException
- Actually never thrown.
decode
public java.lang.Object decode(java.util.Hashtable h)
- Decodes a
Queue
which traveled through the SOAP protocol.
- Specified by:
decode
in interface SoapObjectItf
Copyright ? 2004 Scalagent - All rights reserved