Joram ${version}

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

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
All Implemented Interfaces:
javax.jms.Destination, DestinationMBean, javax.naming.Referenceable, java.io.Serializable, fr.dyade.aaa.jndi2.soap.SoapObjectItf
Direct Known Subclasses:
ClusterQueue

public abstract class ClusterDestination
extends Destination

See Also:
Serialized Form

Field Summary
protected  java.util.Hashtable cluster
           
 
Fields inherited from class org.objectweb.joram.client.jms.Destination
adminName, agentId
 
Constructor Summary
ClusterDestination()
          Constructs an empty cluster destination.
ClusterDestination(java.util.Hashtable cluster)
          Constructs a cluster destination.
 
Method Summary
 java.util.Hashtable code()
          Codes a ClusterDestination as a Hashtable for travelling through the SOAP protocol.
 void decode(java.util.Hashtable h)
           
 boolean equals(java.lang.Object obj)
          Returns true if the parameter object is a Joram cluster destination wrapping the same agent identifier.
 java.util.Hashtable getCluster()
           
abstract  Destination getDestination()
          return the appropriate destination of cluster
 java.lang.String getName()
          Returns the name of the destination.
 javax.naming.Reference getReference()
          Sets the naming reference of a destination.
 void setCluster(java.util.Hashtable cluster)
           
 
Methods inherited from class org.objectweb.joram.client.jms.Destination
addReader, addWriter, delete, doCreate, getAdminName, getDMQ, getReaderList, getReaders, getStatistic, getType, getWriterList, getWriters, isAssignableTo, isFreelyReadable, isFreelyWriteable, isQueue, newInstance, removeReader, removeWriter, setDMQ, setFreelyReadable, setFreelyWriteable, setFreeReading, setFreeWriting, setReader, setWriter, unsetFreeReading, unsetFreeWriting, unsetReader, unsetWriter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cluster

protected java.util.Hashtable cluster
Constructor Detail

ClusterDestination

public ClusterDestination(java.util.Hashtable cluster)
Constructs a cluster destination.

Parameters:
cluster - Hashtable of the cluster agent destination.

ClusterDestination

public ClusterDestination()
Constructs an empty cluster destination.

Method Detail

setCluster

public void setCluster(java.util.Hashtable cluster)

getDestination

public abstract Destination getDestination()
return the appropriate destination of cluster


getName

public java.lang.String getName()
Returns the name of the destination.

Specified by:
getName in interface DestinationMBean
Overrides:
getName in class Destination

getCluster

public java.util.Hashtable getCluster()

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
Sets the naming reference of a destination.

Specified by:
getReference in interface javax.naming.Referenceable
Overrides:
getReference in class Destination
Throws:
javax.naming.NamingException

equals

public boolean equals(java.lang.Object obj)
Returns true if the parameter object is a Joram cluster destination wrapping the same agent identifier.

Overrides:
equals in class Destination

code

public java.util.Hashtable code()
Codes a ClusterDestination as a Hashtable for travelling through the SOAP protocol.

Specified by:
code in interface fr.dyade.aaa.jndi2.soap.SoapObjectItf
Overrides:
code in class Destination

decode

public void decode(java.util.Hashtable h)
Specified by:
decode in interface fr.dyade.aaa.jndi2.soap.SoapObjectItf
Overrides:
decode in class Destination

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved