Joram ${version}

org.objectweb.joram.client.jms.admin
Class ClusterQueue

java.lang.Object
  extended byorg.objectweb.joram.client.jms.admin.AdministeredObject
      extended byorg.objectweb.joram.client.jms.Destination
          extended byorg.objectweb.joram.client.jms.admin.ClusterDestination
              extended byorg.objectweb.joram.client.jms.admin.ClusterQueue
All Implemented Interfaces:
javax.jms.Destination, javax.jms.Queue, javax.naming.Referenceable, java.io.Serializable, fr.dyade.aaa.jndi2.soap.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
 
Constructor Summary
ClusterQueue()
          Constructs an empty queue.
ClusterQueue(java.util.Hashtable cluster)
          Constructs a cluster queue.
 
Method Summary
 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.admin.ClusterDestination
code, decode, equals, getCluster, getName, getReference, setCluster
 
Methods inherited from class org.objectweb.joram.client.jms.Destination
delete, doCreate, getAdminName, getDMQ, getReaders, getType, getWriters, isAssignableTo, isFreelyReadable, isFreelyWriteable, isQueue, newInstance, 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
 

Constructor Detail

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.

Method Detail

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.

Joram ${version}

Copyright ? 2005 Scalagent - All rights reserved