|
||||||||||
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.ExceptionCommand
public class ExceptionCommand
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 | |
---|---|
ExceptionCommand(java.lang.Throwable exception)
|
Method Summary | |
---|---|
void |
commit(ConfigurationContext configContext)
Commit the new configuration. |
int |
getCommandType()
Get the command type |
java.lang.Throwable |
getException()
|
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 |
void |
setException(java.lang.Throwable exception)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExceptionCommand(java.lang.Throwable exception)
Method Detail |
---|
public int getCommandType()
ConfigurationClusteringCommand
getCommandType
in class ConfigurationClusteringCommand
public java.lang.Throwable getException()
public void setException(java.lang.Throwable exception)
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 |