net.ontopia.utils.ontojsp
Class FakeServletConfig
java.lang.Object
net.ontopia.utils.ontojsp.FakeServletConfig
- All Implemented Interfaces:
- javax.servlet.ServletConfig
public class FakeServletConfig
- extends java.lang.Object
- implements javax.servlet.ServletConfig
Field Summary |
protected javax.servlet.ServletContext |
context
|
protected java.util.Hashtable |
params
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected javax.servlet.ServletContext context
params
protected java.util.Hashtable params
FakeServletConfig
public FakeServletConfig(javax.servlet.ServletContext context)
FakeServletConfig
public FakeServletConfig(javax.servlet.ServletContext context,
java.util.Hashtable params)
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
getServletName
public java.lang.String getServletName()
- Specified by:
getServletName
in interface javax.servlet.ServletConfig
Copyright © 2000-2012 Ontopia.