org.cdlib.xtf.test
Class FakeServletContainer

Object
  extended by FakeServletContainer

public class FakeServletContainer
extends Object

Allows command-line access to crossQuery and dynaXML by simulating a servlet container.


Field Summary
private static FakeServletConfig config
           
private static CrossQuery crossQuery
           
private static DynaXML dynaXML
           
 
Constructor Summary
FakeServletContainer()
           
 
Method Summary
static void main(String[] args)
           
private static void service(HttpServlet servlet, String url)
           
private static void service(String url)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

crossQuery

private static CrossQuery crossQuery

dynaXML

private static DynaXML dynaXML

config

private static FakeServletConfig config
Constructor Detail

FakeServletContainer

public FakeServletContainer()
Method Detail

service

private static void service(HttpServlet servlet,
                            String url)
                     throws ServletException,
                            IOException
Throws:
ServletException
IOException

service

private static void service(String url)
                     throws ServletException,
                            IOException,
                            InterruptedException
Throws:
ServletException
IOException
InterruptedException

main

public static void main(String[] args)
                 throws InterruptedException,
                        ServletException,
                        IOException
Throws:
InterruptedException
ServletException
IOException