org.objectweb.joram.client.jms.admin
Class ClusterDestination
java.lang.Object
org.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.Destination
org.objectweb.joram.client.jms.admin.ClusterDestination
- All Implemented Interfaces:
- javax.jms.Destination, javax.naming.Referenceable, java.io.Serializable, SoapObjectItf
- Direct Known Subclasses:
- ClusterQueue
- public abstract class ClusterDestination
- extends Destination
- See Also:
- Serialized Form
Field Summary |
protected java.util.Hashtable |
cluster
|
Method Summary |
java.util.Hashtable |
code()
Codes a ClusterDestination as a Hashtable for
travelling through the SOAP protocol. |
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 |
init(java.util.Hashtable cluster)
|
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, toString, wait, wait, wait |
cluster
protected java.util.Hashtable cluster
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.
init
public void init(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.
- 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 SoapObjectItf
- Overrides:
code
in class Destination
Copyright ? 2004 Scalagent - All rights reserved