|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.clustering.configuration.DefaultConfigurationManager
public class DefaultConfigurationManager
Constructor Summary | |
---|---|
DefaultConfigurationManager()
|
Method Summary | |
---|---|
void |
addParameter(Parameter param)
Method addParameter. |
void |
applyPolicy(java.lang.String serviceGroupName,
java.lang.String policy)
Apply a policy to a service |
void |
commit()
Second phase of the 2-phase commit protocol. |
void |
deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
|
void |
exceptionOccurred(java.lang.Throwable throwable)
To notify other nodes that an Exception occurred, during the processing of a ConfigurationClusteringCommand |
Parameter |
getParameter(java.lang.String name)
Method getParameter. |
java.util.ArrayList |
getParameters()
Gets all the parameters in a given description. |
boolean |
isParameterLocked(java.lang.String parameterName)
Checks whether the parameter is locked at any level. |
void |
loadServiceGroups(java.lang.String[] serviceGroupNames)
Load a set of service groups |
void |
prepare()
First phase of the 2-phase commit protocol. |
void |
process(ConfigurationClusteringCommand command)
|
void |
reloadConfiguration()
Reload the entire configuration of an Axis2 Node |
void |
removeParameter(Parameter param)
|
void |
rollback()
Rollback whatever was done |
protected void |
send(ConfigurationClusteringCommand command)
|
protected void |
send(java.lang.Throwable throwable)
|
void |
setConfigurationContext(ConfigurationContext configurationContext)
Set the configuration context |
void |
setConfigurationManagerListener(ConfigurationManagerListener listener)
For registering a configuration event listener. |
void |
setSender(MessageSender sender)
|
void |
unloadServiceGroups(java.lang.String[] serviceGroupNames)
Unload a set of service groups |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultConfigurationManager()
Method Detail |
---|
public void setConfigurationManagerListener(ConfigurationManagerListener listener)
ConfigurationManager
setConfigurationManagerListener
in interface ConfigurationManager
public void applyPolicy(java.lang.String serviceGroupName, java.lang.String policy) throws ClusteringFault
ConfigurationManager
applyPolicy
in interface ConfigurationManager
serviceGroupName
- The name of the service to which this policy needs to be appliedpolicy
- The serialized policy to be applied to the service
ClusteringFault
public void commit() throws ClusteringFault
ConfigurationManager
commit
in interface ConfigurationManager
ClusteringFault
public void exceptionOccurred(java.lang.Throwable throwable) throws ClusteringFault
ConfigurationManager
ConfigurationClusteringCommand
exceptionOccurred
in interface ConfigurationManager
throwable
- The throwable which has to be propogated to other nodes
ClusteringFault
public void loadServiceGroups(java.lang.String[] serviceGroupNames) throws ClusteringFault
ConfigurationManager
loadServiceGroups
in interface ConfigurationManager
serviceGroupNames
- The set of service groups to be loaded
ClusteringFault
public void prepare() throws ClusteringFault
ConfigurationManager
prepare
in interface ConfigurationManager
ClusteringFault
public void reloadConfiguration() throws ClusteringFault
ConfigurationManager
reloadConfiguration
in interface ConfigurationManager
ClusteringFault
public void rollback() throws ClusteringFault
ConfigurationManager
rollback
in interface ConfigurationManager
ClusteringFault
public void unloadServiceGroups(java.lang.String[] serviceGroupNames) throws ClusteringFault
ConfigurationManager
unloadServiceGroups
in interface ConfigurationManager
serviceGroupNames
- The set of service groups to be unloaded
ClusteringFault
protected void send(java.lang.Throwable throwable) throws ClusteringFault
ClusteringFault
protected void send(ConfigurationClusteringCommand command) throws ClusteringFault
ClusteringFault
public void setSender(MessageSender sender)
public void process(ConfigurationClusteringCommand command) throws ClusteringFault
ClusteringFault
public void setConfigurationContext(ConfigurationContext configurationContext)
ConfigurationManager
setConfigurationContext
in interface ConfigurationManager
public void addParameter(Parameter param) throws AxisFault
ParameterInclude
addParameter
in interface ParameterInclude
AxisFault
public void removeParameter(Parameter param) throws AxisFault
removeParameter
in interface ParameterInclude
AxisFault
public Parameter getParameter(java.lang.String name)
ParameterInclude
getParameter
in interface ParameterInclude
public java.util.ArrayList getParameters()
ParameterInclude
getParameters
in interface ParameterInclude
public boolean isParameterLocked(java.lang.String parameterName)
ParameterInclude
isParameterLocked
in interface ParameterInclude
public void deserializeParameters(org.apache.axiom.om.OMElement parameterElement) throws AxisFault
deserializeParameters
in interface ParameterInclude
AxisFault
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |