info.magnolia.cms.util
Class CustomServletConfig
java.lang.Object
info.magnolia.cms.util.CustomServletConfig
- All Implemented Interfaces:
- javax.servlet.ServletConfig
public class CustomServletConfig
- extends java.lang.Object
- implements javax.servlet.ServletConfig
Custom ServletConfig
for manually initializing servlets.
Constructor Summary |
CustomServletConfig(java.lang.String servletName,
javax.servlet.ServletContext servletContext)
|
CustomServletConfig(java.lang.String servletName,
javax.servlet.ServletContext servletContext,
java.util.Map<java.lang.String,java.lang.String> initParameters)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomServletConfig
public CustomServletConfig(java.lang.String servletName,
javax.servlet.ServletContext servletContext,
java.util.Map<java.lang.String,java.lang.String> initParameters)
CustomServletConfig
public CustomServletConfig(java.lang.String servletName,
javax.servlet.ServletContext servletContext)
getServletName
public java.lang.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 java.lang.String getInitParameter(java.lang.String name)
- Specified by:
getInitParameter
in interface javax.servlet.ServletConfig
getInitParameterNames
public java.util.Enumeration getInitParameterNames()
- Specified by:
getInitParameterNames
in interface javax.servlet.ServletConfig
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.