org.apache.geronimo.clustering
Interface DataListener

All Known Implementing Classes:
Node

public interface DataListener

An interface implemented by components that wish to have their state initialised from the Cluster.

Version:
$Revision: 1.5 $ $Date: 2004/03/10 09:58:21 $

Method Summary
 Data getData()
          Called by Cluster to retrieve current Cluster state.
 void setData(Data state)
          Called by Cluster to initialise the state of a [new] node.
 

Method Detail

getData

public Data getData()
Called by Cluster to retrieve current Cluster state.


setData

public void setData(Data state)
Called by Cluster to initialise the state of a [new] node.

Parameters:
state - Data to be used as the node's initial state.


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.