|
Joram 4.3.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.Destination
org.objectweb.joram.client.jms.admin.ClusterDestination
public class ClusterDestination
A base class for clustered destinations.
Field Summary | |
---|---|
protected java.util.Hashtable |
cluster
|
Fields inherited from class org.objectweb.joram.client.jms.Destination |
---|
adminName, agentId, BRIDGE_QUEUE, BRIDGE_TOPIC, CLUSTER_QUEUE, DEAD_MQUEUE, MAIL_QUEUE, MAIL_TOPIC, QUEUE, SCHEDULER_QUEUE, TOPIC |
Constructor Summary | |
---|---|
ClusterDestination()
Constructs an empty clustered destination. |
|
ClusterDestination(java.util.Hashtable cluster)
Constructs a cluster destination. |
Method Summary | |
---|---|
void |
addDestination(Destination dest)
Adds a destination to the cluster. |
void |
addDestination(java.lang.String location,
Destination dest)
Adds a destination to the cluster with the specified location key. |
java.util.Hashtable |
code()
Codes a ClusterDestination as a Hashtable for
travelling through the SOAP protocol. |
void |
decode(java.util.Hashtable h)
|
void |
fromReference(javax.naming.Reference ref)
Restores the administered object from a naming reference. |
java.util.Hashtable |
getCluster()
|
protected Destination |
getDestination()
return the appropriate destination of cluster |
java.lang.String |
getName()
Returns the name of the destination. |
void |
setCluster(java.util.Hashtable cluster)
|
void |
toReference(javax.naming.Reference ref)
Sets the naming reference of an administered object. |
Methods inherited from class org.objectweb.joram.client.jms.Destination |
---|
addReader, addWriter, delete, doCreate, equals, getAdminName, getDMQ, getReaderList, getReaders, getStatistic, getType, getWriterList, getWriters, isAssignableTo, isFreelyReadable, isFreelyWriteable, isQueue, newInstance, removeReader, removeWriter, setDMQ, setFreelyReadable, setFreelyWriteable, setFreeReading, setFreeWriting, setReader, setWriter, toString, toXml, unsetFreeReading, unsetFreeWriting, unsetReader, unsetWriter |
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject |
---|
getReference |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.Hashtable cluster
Constructor Detail |
---|
public ClusterDestination()
public ClusterDestination(java.util.Hashtable cluster)
cluster
- Hashtable of the cluster agent destination.Method Detail |
---|
public void setCluster(java.util.Hashtable cluster)
public java.util.Hashtable getCluster()
public void addDestination(Destination dest)
dest
- the Destinationpublic void addDestination(java.lang.String location, Destination dest)
location
key.
By default, the location value is set to the String server#i, where i is
the server id. of the destination.
Be careful, the object should be rebind after modification.
location
- the location keydest
- the Destinationprotected Destination getDestination()
public java.lang.String getName()
getName
in interface DestinationMBean
getName
in class Destination
public void toReference(javax.naming.Reference ref) throws javax.naming.NamingException
toReference
in class Destination
javax.naming.NamingException
public void fromReference(javax.naming.Reference ref) throws javax.naming.NamingException
fromReference
in class Destination
javax.naming.NamingException
public java.util.Hashtable code()
ClusterDestination
as a Hashtable for
travelling through the SOAP protocol.
code
in interface fr.dyade.aaa.jndi2.soap.SoapObjectItf
code
in class Destination
public void decode(java.util.Hashtable h)
decode
in interface fr.dyade.aaa.jndi2.soap.SoapObjectItf
decode
in class Destination
|
Joram 4.3.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |