|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.clustering.ClusteringCommand org.apache.axis2.clustering.configuration.ConfigurationClusteringCommand org.apache.axis2.clustering.configuration.commands.RollbackCommand
public class RollbackCommand
Field Summary |
---|
Fields inherited from class org.apache.axis2.clustering.configuration.ConfigurationClusteringCommand |
---|
APPLY_SERVICE_POLICY, COMMIT, EXCEPTION, LOAD_SERVICE_GROUPS, PREPARE, RELOAD_CONFIGURATION, ROLLBACK, UNLOAD_SERVICE_GROUPS |
Constructor Summary | |
---|---|
RollbackCommand()
|
Method Summary | |
---|---|
void |
commit(ConfigurationContext configContext)
Commit the new configuration. |
int |
getCommandType()
Get the command type |
void |
prepare(ConfigurationContext configContext)
Prepare to switch to the new configuration |
void |
process(ConfigurationContext configContext)
Process the event. |
void |
rollback(ConfigurationContext configContext)
Rollback any changes carried out |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RollbackCommand()
Method Detail |
---|
public int getCommandType()
ConfigurationClusteringCommand
getCommandType
in class ConfigurationClusteringCommand
public void process(ConfigurationContext configContext) throws java.lang.Exception
ConfigurationClusteringCommand
event. The implementer of this interface will
need to cache the outcome of this processing.
- Specified by:
process
in class ConfigurationClusteringCommand
- Throws:
java.lang.Exception
public void prepare(ConfigurationContext configContext)
ConfigurationClusteringCommand
prepare
in class ConfigurationClusteringCommand
public void commit(ConfigurationContext configContext) throws java.lang.Exception
ConfigurationClusteringCommand
commit
in class ConfigurationClusteringCommand
java.lang.Exception
public void rollback(ConfigurationContext configContext) throws java.lang.Exception
ConfigurationClusteringCommand
rollback
in class ConfigurationClusteringCommand
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |