org.jboss.resteasy.test
Class EmbeddedContainer

java.lang.Object
  extended by org.jboss.resteasy.test.EmbeddedContainer

public class EmbeddedContainer
extends java.lang.Object

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
EmbeddedContainer()
           
 
Method Summary
static java.lang.Class getBootstrap()
           
static boolean isServlet()
          Exists for tests that require a servlet container behind the scenes.
static void setBootstrap(java.lang.Class bootstrap)
           
static Dispatcher start()
           
static void start(Dispatcher dispatcher)
           
static Dispatcher start(java.lang.String bindPath)
           
static void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedContainer

public EmbeddedContainer()
Method Detail

getBootstrap

public static java.lang.Class getBootstrap()

isServlet

public static boolean isServlet()
Exists for tests that require a servlet container behind the scenes.

Returns:

setBootstrap

public static void setBootstrap(java.lang.Class bootstrap)

start

public static Dispatcher start()
                        throws java.lang.Exception
Throws:
java.lang.Exception

start

public static void start(Dispatcher dispatcher)
                  throws java.lang.Exception
Throws:
java.lang.Exception

start

public static Dispatcher start(java.lang.String bindPath)
                        throws java.lang.Exception
Throws:
java.lang.Exception

stop

public static void stop()
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009. All Rights Reserved.