Class ApplicationMode

java.lang.Object
org.apache.axis2.clustering.tribes.ApplicationMode
All Implemented Interfaces:
OperationMode

public class ApplicationMode extends Object implements OperationMode
Represents a member running in application mode
  • Constructor Details

    • ApplicationMode

      public ApplicationMode(byte[] domain, MembershipManager membershipManager)
  • Method Details

    • addInterceptors

      public void addInterceptors(org.apache.catalina.tribes.Channel channel)
      Description copied from interface: OperationMode
      Add channel interecptors
      Specified by:
      addInterceptors in interface OperationMode
      Parameters:
      channel - The Channel to which interceptors need to be added
    • init

      public void init(org.apache.catalina.tribes.Channel channel)
      Description copied from interface: OperationMode
      Initialize this mode
      Specified by:
      init in interface OperationMode
      Parameters:
      channel - The channel related to this member
    • getMembershipManagers

      public List<MembershipManager> getMembershipManagers()
      Description copied from interface: OperationMode
      Get all the membership managers associated with a particular mode
      Specified by:
      getMembershipManagers in interface OperationMode
      Returns:
      membership managers associated with a particular mode
    • notifyMemberJoin

      public void notifyMemberJoin(org.apache.catalina.tribes.Member member)
      Description copied from interface: OperationMode
      Notify to the relevant parties that a member member joined
      Specified by:
      notifyMemberJoin in interface OperationMode
      Parameters:
      member - The member to whom this member lists have to be sent