org.apache.cocoon.servletservice.util
Class ServletConfigurationWrapper

java.lang.Object
  extended byorg.apache.cocoon.servletservice.util.ServletConfigurationWrapper
All Implemented Interfaces:
ServletConfig

public class ServletConfigurationWrapper
extends Object
implements ServletConfig

Since:
1.0.0
Version:
$Id: ServletConfigurationWrapper.java 608375 2008-01-03 08:33:00Z reinhard $

Field Summary
protected  ServletConfig servletConfig
           
protected  ServletContext servletContext
           
 
Constructor Summary
ServletConfigurationWrapper(ServletConfig servletConfig)
           
ServletConfigurationWrapper(ServletConfig servletConfig, ServletContext 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
 

Field Detail

servletConfig

protected ServletConfig servletConfig

servletContext

protected ServletContext servletContext
Constructor Detail

ServletConfigurationWrapper

public ServletConfigurationWrapper(ServletConfig servletConfig)
Parameters:
servletConfig -

ServletConfigurationWrapper

public ServletConfigurationWrapper(ServletConfig servletConfig,
                                   ServletContext servletContext)
Parameters:
servletConfig -
servletContext -
Method Detail

getServletName

public String getServletName()
Specified by:
getServletName 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

getInitParameterNames

public Enumeration getInitParameterNames()
Specified by:
getInitParameterNames in interface ServletConfig


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.