org.apache.axis2.clustering.configuration
Interface ConfigurationManagerListener

All Known Implementing Classes:
DefaultConfigurationManagerListener

public interface ConfigurationManagerListener

This is the counterpart of ConfigurationManager. On the message sending side, the ConfigurationManager will send a context replication message, which on the receiving side will be handed over to the implementer of this interface. So when a node sends a message through using its ConfigurationManager, all receivers will be notified through their respective ConfigurationManagerListeners.


Method Summary
 void commitCalled()
          Commit configuration changes
 void configurationReloaded(ConfigurationClusteringCommand command)
          Notification that a reload configuration message has been received.
 void handleException(java.lang.Throwable throwable)
          An exception has occurred on a remote node while processing a configuration change command
 void policyApplied(ConfigurationClusteringCommand command)
          Notification that an apply policy to service message has been received.
 void prepareCalled()
          Prepare to commit cpmfiguration changes
 void rollbackCalled()
          Rollback configuration changes
 void serviceGroupsLoaded(ConfigurationClusteringCommand command)
          Notification that a load service groups message has been received.
 void serviceGroupsUnloaded(ConfigurationClusteringCommand command)
          Notification that an unload seervice groups message has been received.
 void setConfigurationContext(ConfigurationContext configurationContext)
          Set the system's configuration context.
 

Method Detail

serviceGroupsLoaded

void serviceGroupsLoaded(ConfigurationClusteringCommand command)
Notification that a load service groups message has been received.

Parameters:
command - The message

serviceGroupsUnloaded

void serviceGroupsUnloaded(ConfigurationClusteringCommand command)
Notification that an unload seervice groups message has been received.

Parameters:
command - The message

policyApplied

void policyApplied(ConfigurationClusteringCommand command)
Notification that an apply policy to service message has been received.

Parameters:
command - The message

configurationReloaded

void configurationReloaded(ConfigurationClusteringCommand command)
Notification that a reload configuration message has been received.

Parameters:
command - The message

prepareCalled

void prepareCalled()
Prepare to commit cpmfiguration changes


rollbackCalled

void rollbackCalled()
Rollback configuration changes


commitCalled

void commitCalled()
Commit configuration changes


handleException

void handleException(java.lang.Throwable throwable)
An exception has occurred on a remote node while processing a configuration change command

Parameters:
throwable - The exception that occurred on the remote node

setConfigurationContext

void setConfigurationContext(ConfigurationContext configurationContext)
Set the system's configuration context. This will be used by the clustering implementations to get information about the Axis2 environment and to correspond with the Axis2 environment

Parameters:
configurationContext - The configuration context


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