1 16 17 package org.apache.catalina.cluster; 18 19 25 26 27 public interface MembershipService { 28 29 35 public void setProperties(java.util.Properties properties); 36 39 public java.util.Properties getProperties(); 40 46 public void start() throws java.lang.Exception ; 47 48 55 public void start(int level) throws java.lang.Exception ; 56 57 58 61 public void stop(); 62 65 public Member[] getMembers(); 66 69 public Member getLocalMember(); 70 71 74 public void setLocalMemberProperties(String listenHost, int listenPort); 75 80 public void addMembershipListener(MembershipListener listener); 81 84 public void removeMembershipListener(); 85 86 } 87 | Popular Tags |