1 17 18 package org.apache.catalina; 19 20 import java.io.IOException ; 21 import java.net.URL ; 22 36 37 public interface Cluster { 38 39 41 46 public String getInfo(); 47 48 54 public String getClusterName(); 55 56 62 public void setClusterName(String clusterName); 63 64 69 public void setContainer(Container container); 70 71 76 public Container getContainer(); 77 78 84 public void setProtocol(String protocol); 85 86 92 public String getProtocol(); 93 94 96 103 public Manager createManager(String name); 104 105 111 public void registerManager(Manager manager); 112 113 117 public void removeManager(Manager manager); 118 119 121 122 127 public void backgroundProcess(); 128 129 130 145 public void startContext(String contextPath) throws IOException ; 146 147 148 174 public void installContext(String contextPath, URL war); 175 176 190 public void stop(String contextPath) throws IOException ; 191 192 193 } 194 | Popular Tags |