winstone
Class ServletConfiguration
java.lang.Object
winstone.ServletConfiguration
- All Implemented Interfaces:
- java.lang.Comparable, ServletConfig
public class ServletConfiguration
- extends java.lang.Object
- implements ServletConfig, java.lang.Comparable
This is the one that keeps a specific servlet instance's config, as well as
holding the instance itself.
- Version:
- $Id: ServletConfiguration.java,v 1.16 2007/04/23 02:55:35 rickknowles Exp $
- Author:
- Rick Knowles
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletConfiguration
protected ServletConfiguration(WebAppConfiguration webAppConfig)
ServletConfiguration
public ServletConfiguration(WebAppConfiguration webAppConfig,
java.lang.String servletName,
java.lang.String className,
java.util.Map initParams,
int loadOnStartup)
ServletConfiguration
public ServletConfiguration(WebAppConfiguration webAppConfig,
org.w3c.dom.Node elm)
ensureInitialization
public void ensureInitialization()
execute
public void execute(ServletRequest request,
ServletResponse response,
java.lang.String requestURI)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
getLoadOnStartup
public int getLoadOnStartup()
getInitParameter
public java.lang.String getInitParameter(java.lang.String name)
- Specified by:
getInitParameter
in interface ServletConfig
getInitParameterNames
public java.util.Enumeration getInitParameterNames()
- Specified by:
getInitParameterNames
in interface ServletConfig
getServletContext
public ServletContext getServletContext()
- Specified by:
getServletContext
in interface ServletConfig
getServletName
public java.lang.String getServletName()
- Specified by:
getServletName
in interface ServletConfig
getSecurityRoleRefs
public java.util.Map getSecurityRoleRefs()
compareTo
public int compareTo(java.lang.Object objTwo)
- This was included so that the servlet instances could be sorted on their
loadOnStartup values. Otherwise used.
- Specified by:
compareTo
in interface java.lang.Comparable
destroy
public void destroy()
- Called when it's time for the container to shut this servlet down.
setUnavailable
protected void setUnavailable(Servlet unavailableServlet)
Copyright © 2013. All Rights Reserved.