org.objectweb.joram.client.jms.admin

Class ClusterDestination

Implemented Interfaces:
javax.jms.Destination, javax.naming.Referenceable, java.io.Serializable, SoapObjectItf
Known Direct Subclasses:
ClusterQueue

public abstract class ClusterDestination
extends Destination

See Also:
Serialized Form

Field Summary

protected Hashtable
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

ClusterDestination()
Constructs an empty cluster destination.
ClusterDestination(Hashtable cluster)
Constructs a cluster destination.

Method Summary

Hashtable
code()
Codes a ClusterDestination as a Hashtable for travelling through the SOAP protocol.
boolean
equals(Object obj)
Returns true if the parameter object is a Joram cluster destination wrapping the same agent identifier.
Hashtable
getCluster()
Destination
getDestination()
return the appropriate destination of cluster
String
getName()
Returns the name of the destination.
Reference
getReference()
Sets the naming reference of a destination.
void
init(Hashtable cluster)

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

Field Details

cluster

protected Hashtable cluster

Constructor Details

ClusterDestination

public ClusterDestination()
Constructs an empty cluster destination.


ClusterDestination

public ClusterDestination(Hashtable cluster)
Constructs a cluster destination.

Parameters:
cluster - Hashtable of the cluster agent destination.

Method Details

code

public Hashtable code()
Codes a ClusterDestination as a Hashtable for travelling through the SOAP protocol.
Specified by:
code in interface SoapObjectItf
Overrides:
code in interface Destination


equals

public boolean equals(Object obj)
Returns true if the parameter object is a Joram cluster destination wrapping the same agent identifier.
Overrides:
equals in interface Destination


getCluster

public Hashtable getCluster()


getDestination

public Destination getDestination()
return the appropriate destination of cluster


getName

public String getName()
Returns the name of the destination.
Overrides:
getName in interface Destination


getReference

public Reference getReference()
            throws NamingException
Sets the naming reference of a destination.
Overrides:
getReference in interface Destination


init

public void init(Hashtable cluster)


Copyright B) 2004 Scalagent - All rights reserved