info.magnolia.cms.util
Class CustomServletConfig

java.lang.Object
  extended by info.magnolia.cms.util.CustomServletConfig
All Implemented Interfaces:
javax.servlet.ServletConfig

public class CustomServletConfig
extends Object
implements javax.servlet.ServletConfig

Custom ServletConfig for manually initializing servlets.


Constructor Summary
CustomServletConfig(String servletName, javax.servlet.ServletContext servletContext)
          Deprecated. not used
CustomServletConfig(String servletName, javax.servlet.ServletContext servletContext, Map<String,String> initParameters)
           
 
Method Summary
 String getInitParameter(String name)
           
 Enumeration getInitParameterNames()
           
 javax.servlet.ServletContext getServletContext()
           
 String getServletName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomServletConfig

public CustomServletConfig(String servletName,
                           javax.servlet.ServletContext servletContext,
                           Map<String,String> initParameters)

CustomServletConfig

public CustomServletConfig(String servletName,
                           javax.servlet.ServletContext servletContext)
Deprecated. not used

Method Detail

getServletName

public String getServletName()
Specified by:
getServletName in interface javax.servlet.ServletConfig

getServletContext

public javax.servlet.ServletContext getServletContext()
Specified by:
getServletContext in interface javax.servlet.ServletConfig

getInitParameter

public String getInitParameter(String name)
Specified by:
getInitParameter in interface javax.servlet.ServletConfig

getInitParameterNames

public Enumeration getInitParameterNames()
Specified by:
getInitParameterNames in interface javax.servlet.ServletConfig


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.