|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigurationManager
This interface is responsible for handling configuration management. Configuraion changes include
It is not mandatory to have a ConfigurationManager in a node. In which case the cluster may be used only for High Availability through context replication. However, it is difficult to imagine that a cluster will be deployed in production with only context replication but without cluster configuration management.
The implementation of this interface is set by the
ClusterBuilder, by
reading the "configurationManager" element in the axis2.xml
| Method Summary | |
|---|---|
void |
applyPolicy(java.lang.String serviceName,
java.lang.String policy)
Apply a policy to a service |
void |
commit()
Second phase of the 2-phase commit protocol. |
void |
exceptionOccurred(java.lang.Throwable throwable)
To notify other nodes that an Exception occurred, during the processing of a ConfigurationClusteringCommand |
void |
loadServiceGroups(java.lang.String[] serviceGroupNames)
Load a set of service groups |
void |
prepare()
First phase of the 2-phase commit protocol. |
void |
reloadConfiguration()
Reload the entire configuration of an Axis2 Node |
void |
rollback()
Rollback whatever was done |
void |
setConfigurationContext(ConfigurationContext configurationContext)
Set the system's configuration context. |
void |
setConfigurationManagerListener(ConfigurationManagerListener listener)
For registering a configuration event listener. |
void |
unloadServiceGroups(java.lang.String[] serviceGroupNames)
Unload a set of service groups |
| Methods inherited from interface org.apache.axis2.description.ParameterInclude |
|---|
addParameter, deserializeParameters, getParameter, getParameters, isParameterLocked, removeParameter |
| Method Detail |
|---|
void loadServiceGroups(java.lang.String[] serviceGroupNames)
throws ClusteringFault
serviceGroupNames - The set of service groups to be loaded
ClusteringFault - If an error occurs while loading service groups
void unloadServiceGroups(java.lang.String[] serviceGroupNames)
throws ClusteringFault
serviceGroupNames - The set of service groups to be unloaded
ClusteringFault - If an error occurs while unloading service groups
void applyPolicy(java.lang.String serviceName,
java.lang.String policy)
throws ClusteringFault
serviceName - The name of the service to which this policy needs to be appliedpolicy - The serialized policy to be applied to the service
ClusteringFault - If an error occurs while applying service policies
void reloadConfiguration()
throws ClusteringFault
ClusteringFault - If an error occurs while reinitializing Axis2
void prepare()
throws ClusteringFault
ClusteringFault - If an error occurs while preparing to commit
void rollback()
throws ClusteringFault
ClusteringFault - If an error occurs while rolling back a cluster configuration
transaction
void commit()
throws ClusteringFault
ClusteringFault - If an error occurs while committing a cluster configuration
transaction
void exceptionOccurred(java.lang.Throwable throwable)
throws ClusteringFault
ConfigurationClusteringCommand
throwable - The throwable which has to be propogated to other nodes
ClusteringFault - If an error occurs while processing the
exception messagevoid setConfigurationManagerListener(ConfigurationManagerListener listener)
listener - The ConfigurationManagerListener instancevoid setConfigurationContext(ConfigurationContext configurationContext)
configurationContext - The configuration context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||