FileDocCategorySizeDatePackage
StandardWrapperFacade.javaAPI DocApache Tomcat 6.0.142535Fri Jul 20 04:20:32 BST 2007org.apache.catalina.core

StandardWrapperFacade

public final class StandardWrapperFacade extends Object implements ServletConfig
Facade for the StandardWrapper object.
author
Remy Maucharat
version
$Revision: 505618 $ $Date: 2007-02-10 03:30:04 +0100 (sam., 10 févr. 2007) $

Fields Summary
private ServletConfig
config
Wrapped config.
private ServletContext
context
Wrapped context (facade).
Constructors Summary
public StandardWrapperFacade(StandardWrapper config)
Create a new facede around a StandardWrapper.


        super();
        this.config = (ServletConfig) config;

    
Methods Summary
public java.lang.StringgetInitParameter(java.lang.String name)

        return config.getInitParameter(name);
    
public java.util.EnumerationgetInitParameterNames()

        return config.getInitParameterNames();
    
public javax.servlet.ServletContextgetServletContext()

        if (context == null) {
            context = config.getServletContext();
            if ((context != null) && (context instanceof ApplicationContext))
                context = ((ApplicationContext) context).getFacade();
        }
        return (context);
    
public java.lang.StringgetServletName()



    // -------------------------------------------------- ServletConfig Methods


       
        return config.getServletName();