org.directwebremoting.impl
Class TestEnvironment
java.lang.Object
org.directwebremoting.impl.TestEnvironment
public class TestEnvironment
- extends java.lang.Object
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestEnvironment
public TestEnvironment()
configureFromClassResource
public static void configureFromClassResource(java.lang.String classResourceName)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
- Configure from a dwr.xml file given as a class resource name
- Throws:
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
engageThread
public static void engageThread()
disengageThread
public static void disengageThread()
getConverterManager
public static ConverterManager getConverterManager()
getContainer
public static Container getContainer()
- Returns:
- the container
getServletConfig
public static javax.servlet.ServletConfig getServletConfig()
- Returns:
- the servletConfig
getServletContext
public static javax.servlet.ServletContext getServletContext()
- Returns:
- the servletContext
getWebContextBuilder
public static WebContextFactory.WebContextBuilder getWebContextBuilder()
- Returns:
- the webContextBuilder