|
||||||||||
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 NodeManager
ClusteringFault
- If an error occurs while committing a cluster configuration
transactionpublic void exceptionOccurred(Throwable throwable) throws ClusteringFault
NodeManager
NodeManagementCommand
exceptionOccurred
in interface NodeManager
throwable
- The throwable which has to be propogated to other nodes
ClusteringFault
- If an error occurs while processing the
exception messagepublic void prepare() throws ClusteringFault
NodeManager
prepare
in interface NodeManager
ClusteringFault
- If an error occurs while preparing to commitpublic void rollback() throws ClusteringFault
NodeManager
rollback
in interface NodeManager
ClusteringFault
- If an error occurs while rolling back a cluster configuration
transactionprotected void send(Throwable throwable) throws ClusteringFault
ClusteringFault
public void sendMessage(NodeManagementCommand command) throws ClusteringFault
NodeManager
sendMessage
in interface NodeManager
command
- 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 NodeManager
configurationContext
- The configuration contextpublic 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(String name)
ParameterInclude
getParameter
in interface ParameterInclude
public ArrayList getParameters()
ParameterInclude
getParameters
in interface ParameterInclude
public boolean isParameterLocked(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 |