public class ServletConfiguration extends java.lang.Object implements ServletConfig, java.lang.Comparable
| Modifier | Constructor and Description |
|---|---|
protected |
ServletConfiguration(WebAppConfiguration webAppConfig) |
|
ServletConfiguration(WebAppConfiguration webAppConfig,
org.w3c.dom.Node elm) |
|
ServletConfiguration(WebAppConfiguration webAppConfig,
java.lang.String servletName,
java.lang.String className,
java.util.Map initParams,
int loadOnStartup) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object objTwo)
This was included so that the servlet instances could be sorted on their
loadOnStartup values.
|
void |
destroy()
Called when it's time for the container to shut this servlet down.
|
void |
ensureInitialization() |
void |
execute(ServletRequest request,
ServletResponse response,
java.lang.String requestURI) |
java.lang.String |
getInitParameter(java.lang.String name) |
java.util.Enumeration |
getInitParameterNames() |
int |
getLoadOnStartup() |
java.util.Map |
getSecurityRoleRefs() |
ServletContext |
getServletContext() |
java.lang.String |
getServletName() |
protected void |
setUnavailable(Servlet unavailableServlet) |
protected ServletConfiguration(WebAppConfiguration webAppConfig)
public ServletConfiguration(WebAppConfiguration webAppConfig, java.lang.String servletName, java.lang.String className, java.util.Map initParams, int loadOnStartup)
public ServletConfiguration(WebAppConfiguration webAppConfig, org.w3c.dom.Node elm)
public void ensureInitialization()
public void execute(ServletRequest request, ServletResponse response, java.lang.String requestURI) throws ServletException, java.io.IOException
ServletExceptionjava.io.IOExceptionpublic int getLoadOnStartup()
public java.lang.String getInitParameter(java.lang.String name)
getInitParameter in interface ServletConfigpublic java.util.Enumeration getInitParameterNames()
getInitParameterNames in interface ServletConfigpublic ServletContext getServletContext()
getServletContext in interface ServletConfigpublic java.lang.String getServletName()
getServletName in interface ServletConfigpublic java.util.Map getSecurityRoleRefs()
public int compareTo(java.lang.Object objTwo)
compareTo in interface java.lang.Comparablepublic void destroy()
protected void setUnavailable(Servlet unavailableServlet)
Copyright © 2013. All Rights Reserved.