org.apache.axis2.clustering.context
Interface ContextManagerListener

All Known Implementing Classes:
DefaultContextManagerListener

public interface ContextManagerListener

This is the countepart of the ContextManager implementation. On the message sending side, the ContextManager 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 ContextManager, all receivers will be notified through their respective ContextManagerListeners.


Method Summary
 void contextUpdated(ContextClusteringCommand message)
          Notification that a context replication message has been received.
 void setConfigurationContext(ConfigurationContext configurationContext)
          Set the system's configuration context.
 

Method Detail

contextUpdated

void contextUpdated(ContextClusteringCommand message)
                    throws ClusteringFault
Notification that a context replication message has been received. The receiver will have to take appropriate action to process this message

Parameters:
message - The context replication message
Throws:
ClusteringFault - If an error occurs while processing the received message

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.