org.apache.cocoon.servlet
Class BootstrapServlet.ConfigWrapper

java.lang.Object
  extended by 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.


Constructor Summary
BootstrapServlet.ConfigWrapper(ServletConfig config, ServletContext context)
          Builds a ServletConfig using a servlet name and a ServletContext.
 
Method Summary
 String getInitParameter(String name)
           
 Enumeration getInitParameterNames()
           
 ServletContext getServletContext()
           
 String getServletName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapServlet.ConfigWrapper

public BootstrapServlet.ConfigWrapper(ServletConfig config,
                                      ServletContext context)
Builds a ServletConfig using a servlet name and a ServletContext.

Method Detail

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.