com.sun.enterprise.mgmt
Interface ClusterViewEventListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
GroupCommunicationProviderImpl

public interface ClusterViewEventListener
extends EventListener

The listener interface for receiving ClusterViewManager events.

The following example illustrates how to implement a ClusterViewEventListener:


 ClusterViewEventListener myListener = new ClusterViewEventListener() {
 

public void clusterViewEvent(int event, , SystemAdvertisement advertisement) { if (event == ClusterViewManager.ADD_EVENT) { ..... } } }


Method Summary
 void clusterViewEvent(ClusterViewEvent event, ClusterView clusterView)
          Called when a cluster view event occurs.
 

Method Detail

clusterViewEvent

void clusterViewEvent(ClusterViewEvent event,
                      ClusterView clusterView)
Called when a cluster view event occurs.

Parameters:
event - The event that occurred.
clusterView - the current membership snapshot after the event.


Copyright © 2012. All Rights Reserved.