info.magnolia.cms.util
Class CustomServletConfig
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomServletConfig
public CustomServletConfig(String servletName,
javax.servlet.ServletContext servletContext,
Map<String,String> initParameters)
CustomServletConfig
public CustomServletConfig(String servletName,
javax.servlet.ServletContext servletContext)
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-2012 Magnolia International Ltd.. All Rights Reserved.