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

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.ReloadConfigurationCommand
All Implemented Interfaces:
java.io.Serializable

public class ReloadConfigurationCommand
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
ReloadConfigurationCommand()
           
 
Method Summary
 void commit(ConfigurationContext configContext)
          Commit the new configuration.
 int getCommandType()
          Get the command type
 void prepare(ConfigurationContext configCtx)
          Prepare to switch to the new configuration
 void process(ConfigurationContext configCtx)
          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

ReloadConfigurationCommand

public ReloadConfigurationCommand()
Method Detail

process

public void process(ConfigurationContext configCtx)
             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 configCtx)
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


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