net.sourceforge.stripes.mock
Class MockServletConfig

java.lang.Object
  extended by net.sourceforge.stripes.mock.MockBaseConfig
      extended by net.sourceforge.stripes.mock.MockServletConfig
All Implemented Interfaces:
ServletConfig

public class MockServletConfig
extends MockBaseConfig
implements ServletConfig

Mock implementation of a Servlet Config.

Since:
Stripes 1.1.1
Author:
Tim Fennell

Constructor Summary
MockServletConfig()
           
 
Method Summary
 String getServletName()
          Returns the name of the servlet for which this is the config.
 void setServletName(String name)
          Sets the name of the servlet for which this is the config.
 
Methods inherited from class net.sourceforge.stripes.mock.MockBaseConfig
addAllInitParameters, addInitParameter, getInitParameter, getInitParameterNames, getServletContext, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletConfig
getInitParameter, getInitParameterNames, getServletContext
 

Constructor Detail

MockServletConfig

public MockServletConfig()
Method Detail

getServletName

public String getServletName()
Returns the name of the servlet for which this is the config.

Specified by:
getServletName in interface ServletConfig

setServletName

public void setServletName(String name)
Sets the name of the servlet for which this is the config.



? Copyright 2005-2006, Stripes Development Team.