net.ontopia.utils.ontojsp
Class FakeServletConfig

java.lang.Object
  extended by 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
           
 
Constructor Summary
FakeServletConfig(javax.servlet.ServletContext context)
           
FakeServletConfig(javax.servlet.ServletContext context, java.util.Hashtable params)
           
 
Method Summary
 java.lang.String getInitParameter(java.lang.String name)
           
 java.util.Enumeration getInitParameterNames()
           
 javax.servlet.ServletContext getServletContext()
           
 java.lang.String getServletName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected javax.servlet.ServletContext context

params

protected java.util.Hashtable params
Constructor Detail

FakeServletConfig

public FakeServletConfig(javax.servlet.ServletContext context)

FakeServletConfig

public FakeServletConfig(javax.servlet.ServletContext context,
                         java.util.Hashtable params)
Method Detail

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.