All Implemented Interfaces:
All Known Implementing Classes:
This is the main interface in the Axis2 clustering implementation. In order to plug-in a new clustering implementation, this interface has to be implemented.
The initilization of a node in the cluster is handled here. It is also responsible for getting this node to join the cluster. This node should not process any Web services requests until it successfully joins the cluster. Generally, this node will also need to obtain the state information and/or configuration information from a neighboring node. This interface is also responsible for properly instantiating a ContextManager & ConfigurationManager . In the case of a static membership scheme, this members are read from the axis2.xml file and added to the ClusterManager.
In the axis2.xml, the instance of this interface is specified using the "cluster" class attribute.
There can also be several "parameter" elements, which are children of the "cluster" element in the axis2.xml file. Generally, these parameters will be specific to the ClusterManager implementation.
|Method from org.apache.axis2.clustering.ClusterManager Summary:|
|addLoadBalanceEventHandler, getConfigurationManager, getContextManager, getDomains, getLoadBalanceEventHandler, getMembers, init, setConfigurationContext, setConfigurationManager, setContextManager, setMembers, shutdown|
|Method from org.apache.axis2.clustering.ClusterManager Detail:|
public void addLoadBalanceEventHandler(LoadBalanceEventHandler eventHandler, String applicationDomain)
public Set getDomains()
public LoadBalanceEventHandler getLoadBalanceEventHandler(String applicationDomain)
public List getMembers()
public void init() throws ClusteringFault
public void setConfigurationContext(ConfigurationContext configurationContext)
public void setConfigurationManager(ConfigurationManager configurationManager)
public void setContextManager(ContextManager contextManager)
public void setMembers(List members)
public void shutdown() throws ClusteringFault