org.ow2.orchestra.cluster.jgroups
Class JGroupsClusterDescription
java.lang.Object
org.ow2.orchestra.cluster.jgroups.JGroupsClusterDescription
- All Implemented Interfaces:
- ClusterDescription
public class JGroupsClusterDescription
- extends java.lang.Object
- implements ClusterDescription
Orchestra cluster implementation using JGroups.
To use this cluster implementation, add this to the environment.xml file:
<cluster class='org.ow2.orchestra.cluster.jgroups.JGroupsClusterDescription' init='eager'>
<arg><ref object='orchestra-properties' /></arg>
<arg><string value='jgroups-configuration-url' /></arg>
</cluster>
Where jgroups-configuration-url is the url of the file containing the JGroups configuration.
To use the default JGroups configuration, remove the second <arg ...> line.
- Author:
- Guillaume Porcher
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGroupsClusterDescription
public JGroupsClusterDescription(java.util.Properties orchestraProperties)
JGroupsClusterDescription
public JGroupsClusterDescription(java.util.Properties orchestraProperties,
java.lang.String jGroupsConfiguration)
getOrchestraServers
public java.util.Collection<Server> getOrchestraServers()
- Specified by:
getOrchestraServers in interface ClusterDescription
Copyright © 2010 OW2 Consortium. All Rights Reserved.