org.directwebremoting.impl
Class TestEnvironment

java.lang.Object
  extended by org.directwebremoting.impl.TestEnvironment

public class TestEnvironment
extends java.lang.Object

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
TestEnvironment()
           
 
Method Summary
static void configureFromClassResource(java.lang.String classResourceName)
          Configure from a dwr.xml file given as a class resource name
static void disengageThread()
           
static void engageThread()
           
static Container getContainer()
           
static ConverterManager getConverterManager()
           
static javax.servlet.ServletConfig getServletConfig()
           
static javax.servlet.ServletContext getServletContext()
           
static WebContextFactory.WebContextBuilder getWebContextBuilder()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestEnvironment

public TestEnvironment()
Method Detail

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

Copyright 2008