org.ow2.orchestra.cluster.jgroups
Class JGroupsClusterDescription

java.lang.Object
  extended by 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

Constructor Summary
JGroupsClusterDescription(java.util.Properties orchestraProperties)
           
JGroupsClusterDescription(java.util.Properties orchestraProperties, java.lang.String jGroupsConfiguration)
           
 
Method Summary
 java.util.Collection<Server> getOrchestraServers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGroupsClusterDescription

public JGroupsClusterDescription(java.util.Properties orchestraProperties)

JGroupsClusterDescription

public JGroupsClusterDescription(java.util.Properties orchestraProperties,
                                 java.lang.String jGroupsConfiguration)
Method Detail

getOrchestraServers

public java.util.Collection<Server> getOrchestraServers()
Specified by:
getOrchestraServers in interface ClusterDescription


Copyright © 2010 OW2 Consortium. All Rights Reserved.