org.apache.cocoon.servlet
Class BootstrapServlet.ConfigWrapper
java.lang.Object
org.apache.cocoon.servlet.BootstrapServlet.ConfigWrapper
- All Implemented Interfaces:
- ServletConfig
- Enclosing class:
- BootstrapServlet
public static class BootstrapServlet.ConfigWrapper
- extends Object
- implements ServletConfig
Implementation of ServletConfig
passed to the actual servlet.
It wraps the original config object and returns the new context.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BootstrapServlet.ConfigWrapper
public BootstrapServlet.ConfigWrapper(ServletConfig config,
ServletContext context)
- Builds a
ServletConfig
using a servlet name and
a ServletContext
.
getServletName
public String getServletName()
- Specified by:
getServletName
in interface ServletConfig
getInitParameterNames
public Enumeration getInitParameterNames()
- Specified by:
getInitParameterNames
in interface ServletConfig
getServletContext
public ServletContext getServletContext()
- Specified by:
getServletContext
in interface ServletConfig
getInitParameter
public String getInitParameter(String name)
- Specified by:
getInitParameter
in interface ServletConfig
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.