org.apache.axis2.clustering.configuration.commands
Class ApplyServicePolicyCommand

java.lang.Object
  extended by org.apache.axis2.clustering.ClusteringCommand
      extended by org.apache.axis2.clustering.configuration.ConfigurationClusteringCommand
          extended by org.apache.axis2.clustering.configuration.commands.ApplyServicePolicyCommand
All Implemented Interfaces:
java.io.Serializable

public class ApplyServicePolicyCommand
extends ConfigurationClusteringCommand

See Also:
Serialized Form

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

ApplyServicePolicyCommand

public ApplyServicePolicyCommand()
Method Detail

process

public void process(ConfigurationContext confiCtx)
             throws java.lang.Exception
Description copied from class: ConfigurationClusteringCommand
Process the 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

prepare

public void prepare(ConfigurationContext configContext)
Description copied from class: ConfigurationClusteringCommand
Prepare to switch to the new configuration

Specified by:
prepare in class ConfigurationClusteringCommand

commit

public void commit(ConfigurationContext configContext)
            throws java.lang.Exception
Description copied from class: ConfigurationClusteringCommand
Commit the new configuration. i.e. switch the system to the new configuration

Specified by:
commit in class ConfigurationClusteringCommand
Throws:
java.lang.Exception

rollback

public void rollback(ConfigurationContext configContext)
              throws java.lang.Exception
Description copied from class: ConfigurationClusteringCommand
Rollback any changes carried out

Specified by:
rollback in class ConfigurationClusteringCommand
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getCommandType

public int getCommandType()
Description copied from class: ConfigurationClusteringCommand
Get the command type

Specified by:
getCommandType in class ConfigurationClusteringCommand
Returns:
The command type

setPolicy

public void setPolicy(java.lang.String policy)

setServiceName

public void setServiceName(java.lang.String serviceName)


Copyright © 2007 Apache Web Services Project. All Rights Reserved.