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