|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.clustering.management.DefaultNodeManager
public class DefaultNodeManager
| Constructor Summary | |
|---|---|
DefaultNodeManager()
|
|
| Method Summary | |
|---|---|
void |
addParameter(Parameter param)
Method addParameter. |
void |
commit()
Second phase of the 2-phase commit protocol. |
void |
deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
|
void |
exceptionOccurred(Throwable throwable)
To notify other nodes that an Exception occurred, during the processing of a NodeManagementCommand |
Parameter |
getParameter(String name)
Method getParameter. |
ArrayList |
getParameters()
Gets all the parameters in a given description. |
boolean |
isParameterLocked(String parameterName)
Checks whether the parameter is locked at any level. |
void |
prepare()
First phase of the 2-phase commit protocol. |
void |
removeParameter(Parameter param)
|
void |
rollback()
Rollback whatever was done |
protected void |
send(Throwable throwable)
|
void |
sendMessage(NodeManagementCommand command)
Execute a NodeManagementCommand |
void |
setConfigurationContext(ConfigurationContext configurationContext)
Set the system's configuration context. |
void |
setSender(MessageSender sender)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultNodeManager()
| Method Detail |
|---|
public void commit()
throws ClusteringFault
NodeManager
commit in interface NodeManagerClusteringFault - If an error occurs while committing a cluster configuration
transaction
public void exceptionOccurred(Throwable throwable)
throws ClusteringFault
NodeManagerNodeManagementCommand
exceptionOccurred in interface NodeManagerthrowable - The throwable which has to be propogated to other nodes
ClusteringFault - If an error occurs while processing the
exception message
public void prepare()
throws ClusteringFault
NodeManager
prepare in interface NodeManagerClusteringFault - If an error occurs while preparing to commit
public void rollback()
throws ClusteringFault
NodeManager
rollback in interface NodeManagerClusteringFault - If an error occurs while rolling back a cluster configuration
transaction
protected void send(Throwable throwable)
throws ClusteringFault
ClusteringFault
public void sendMessage(NodeManagementCommand command)
throws ClusteringFault
NodeManager
sendMessage in interface NodeManagercommand - The command to be executed
ClusteringFault - If an error occurs while sending the messagepublic void setSender(MessageSender sender)
public void setConfigurationContext(ConfigurationContext configurationContext)
NodeManager
setConfigurationContext in interface NodeManagerconfigurationContext - The configuration context
public void addParameter(Parameter param)
throws AxisFault
ParameterInclude
addParameter in interface ParameterIncludeAxisFault
public void removeParameter(Parameter param)
throws AxisFault
removeParameter in interface ParameterIncludeAxisFaultpublic Parameter getParameter(String name)
ParameterInclude
getParameter in interface ParameterIncludepublic ArrayList getParameters()
ParameterInclude
getParameters in interface ParameterIncludepublic boolean isParameterLocked(String parameterName)
ParameterInclude
isParameterLocked in interface ParameterInclude
public void deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
throws AxisFault
deserializeParameters in interface ParameterIncludeAxisFault
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||