1 2 3 27 28 29 package org.apache.catalina; 30 31 32 import java.io.IOException ; 33 import java.net.URL ; 34 35 36 45 46 47 public interface Deployer { 48 49 50 52 53 58 public static final String PRE_INSTALL_EVENT = "pre-install"; 59 60 61 65 public static final String INSTALL_EVENT = "install"; 66 67 68 72 public static final String REMOVE_EVENT = "remove"; 73 74 75 77 78 81 public String getName(); 82 83 84 108 public void install(String contextPath, URL war) throws IOException ; 109 110 111 135 public void install(URL config, URL war) throws IOException ; 136 137 138 145 public Context findDeployedApp(String contextPath); 146 147 148 153 public String [] findDeployedApps(); 154 155 156 172 public void remove(String contextPath) throws IOException ; 173 174 175 193 public void remove(String contextPath, boolean undeploy) throws IOException ; 194 195 196 209 public void start(String contextPath) throws IOException ; 210 211 212 225 public void stop(String contextPath) throws IOException ; 226 227 228 } 229 | Popular Tags |