Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.axis2.clustering
Interface MembershipListener

    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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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