1 17 18 19 package org.apache.catalina; 20 21 22 import javax.servlet.Servlet ; 23 import javax.servlet.ServletException ; 24 import javax.servlet.UnavailableException ; 25 26 27 49 50 public interface Wrapper extends Container { 51 52 53 55 56 63 public long getAvailable(); 64 65 66 74 public void setAvailable(long available); 75 76 77 80 public String getJspFile(); 81 82 83 88 public void setJspFile(String jspFile); 89 90 91 95 public int getLoadOnStartup(); 96 97 98 104 public void setLoadOnStartup(int value); 105 106 107 110 public String getRunAs(); 111 112 113 118 public void setRunAs(String runAs); 119 120 121 124 public String getServletClass(); 125 126 127 132 public void setServletClass(String servletClass); 133 134 135 145 public String [] getServletMethods() throws ServletException ; 146 147 148 151 public boolean isUnavailable(); 152 153 154 156 157 163 public void addInitParameter(String name, String value); 164 165 166 171 public void addInstanceListener(InstanceListener listener); 172 173 174 179 public void addMapping(String mapping); 180 181 182 189 public void addSecurityReference(String name, String link); 190 191 192 205 public Servlet allocate() throws ServletException ; 206 207 208 217 public void deallocate(Servlet servlet) throws ServletException ; 218 219 220 223 public Servlet getServlet(); 224 225 226 232 public String findInitParameter(String name); 233 234 235 239 public String [] findInitParameters(); 240 241 242 245 public String [] findMappings(); 246 247 248 254 public String findSecurityReference(String name); 255 256 257 261 public String [] findSecurityReferences(); 262 263 264 267 public void incrementErrorCount(); 268 269 270 280 public void load() throws ServletException ; 281 282 283 288 public void removeInitParameter(String name); 289 290 291 296 public void removeInstanceListener(InstanceListener listener); 297 298 299 304 public void removeMapping(String mapping); 305 306 307 312 public void removeSecurityReference(String name); 313 314 315 322 public void unavailable(UnavailableException unavailable); 323 324 325 334 public void unload() throws ServletException ; 335 336 337 } 338 | Popular Tags |