Method Summary |
|
public void | addInitParameter(String name, String value) Add a new servlet initialization parameter for this servlet. |
public void | addInstanceListener(InstanceListener listener) Add a new listener interested in InstanceEvents. |
public void | addMapping(String mapping) Add a mapping associated with the Wrapper. |
public void | addSecurityReference(String name, String link) Add a new security role reference record to the set of records for
this servlet. |
public Servlet | allocate() Allocate an initialized instance of this Servlet that is ready to have
its service() method called. |
public void | deallocate(Servlet servlet) Return this previously allocated servlet to the pool of available
instances. |
public String | findInitParameter(String name) Return the value for the specified initialization parameter name,
if any; otherwise return null . |
public String[] | findInitParameters() Return the names of all defined initialization parameters for this
servlet. |
public String[] | findMappings() Return the mappings associated with this wrapper. |
public String | findSecurityReference(String name) Return the security role link for the specified security role
reference name, if any; otherwise return null . |
public String[] | findSecurityReferences() Return the set of security role reference names associated with
this servlet, if any; otherwise return a zero-length array. |
public long | getAvailable() Return the available date/time for this servlet, in milliseconds since
the epoch. |
public String | getJspFile() Return the context-relative URI of the JSP file for this servlet. |
public int | getLoadOnStartup() Return the load-on-startup order value (negative value means
load on first call). |
public String | getRunAs() Return the run-as identity for this servlet. |
public String | getServletClass() Return the fully qualified servlet class name for this servlet. |
public void | incrementErrorCount() Increment the error count value used when monitoring. |
public boolean | isUnavailable() |
public void | load() Load and initialize an instance of this servlet, if there is not already
at least one initialized instance. |
public void | removeInitParameter(String name) Remove the specified initialization parameter from this servlet. |
public void | removeInstanceListener(InstanceListener listener) Remove a listener no longer interested in InstanceEvents. |
public void | removeMapping(String mapping) Remove a mapping associated with the wrapper. |
public void | removeSecurityReference(String name) Remove any security role reference for the specified role name. |
public void | setAvailable(long available) Set the available date/time for this servlet, in milliseconds since the
epoch. |
public void | setJspFile(String jspFile) Set the context-relative URI of the JSP file for this servlet. |
public void | setLoadOnStartup(int value) Set the load-on-startup order value (negative value means
load on first call). |
public void | setRunAs(String runAs) Set the run-as identity for this servlet. |
public void | setServletClass(String servletClass) Set the fully qualified servlet class name for this servlet. |
public void | unavailable(UnavailableException unavailable) Process an UnavailableException, marking this servlet as unavailable
for the specified amount of time. |
public void | unload() Unload all initialized instances of this servlet, after calling the
destroy() method for each instance. |