|
||||||||||
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.ApplyServicePolicyCommand
public class ApplyServicePolicyCommand
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 | |
---|---|
ApplyServicePolicyCommand()
|
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 confiCtx)
Process the event. |
void |
rollback(ConfigurationContext configContext)
Rollback any changes carried out |
void |
setPolicy(java.lang.String policy)
|
void |
setServiceName(java.lang.String serviceName)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApplyServicePolicyCommand()
Method Detail |
---|
public void process(ConfigurationContext confiCtx) 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
public int getCommandType()
ConfigurationClusteringCommand
getCommandType
in class ConfigurationClusteringCommand
public void setPolicy(java.lang.String policy)
public void setServiceName(java.lang.String serviceName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |