servletunit.struts
Class StrutsServletConfigWrapper

java.lang.Object
  extended byServletConfigWrapper
      extended byservletunit.struts.StrutsServletConfigWrapper

public class StrutsServletConfigWrapper
extends ServletConfigWrapper

A wrapper for the ServletConfig class. This is used in CactusStrutsTestCase so that we can use out own ServletContext wrapper class. This allows us to to use the ActionServlet as a black box, rather than mimic its behavior as was previously the case.

See Also:
Serialized Form

Constructor Summary
StrutsServletConfigWrapper(ServletConfig config)
           
 
Method Summary
 ServletContext getServletContext()
           
 void setServletContext(ServletContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrutsServletConfigWrapper

public StrutsServletConfigWrapper(ServletConfig config)
Method Detail

getServletContext

public ServletContext getServletContext()

setServletContext

public void setServletContext(ServletContext context)


Copyright © Deryl Seale All Rights Reserved.