org.apache.axis2.clustering
Interface MembershipListener

All Known Implementing Classes:
MembershipListenerImpl

public interface MembershipListener

This is the interface which will be notified when memership changes. If some specific activities need to be performed when membership changes occur, you can provide an implementation of this interface in the axis2.xml


Method Summary
 void memberAdded(Member member, boolean isLocalMemberCoordinator)
          Method which will be called when a member is added
 void memberDisappeared(Member member, boolean isLocalMemberCoordinator)
          Method which will be called when a member dissapears
 

Method Detail

memberAdded

void memberAdded(Member member,
                 boolean isLocalMemberCoordinator)
Method which will be called when a member is added

Parameters:
member - The member which was added
isLocalMemberCoordinator - true - if the local member is the coordinator

memberDisappeared

void memberDisappeared(Member member,
                       boolean isLocalMemberCoordinator)
Method which will be called when a member dissapears

Parameters:
member - The member which disappeared
isLocalMemberCoordinator - true - if the local member is the coordinator


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.