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 ResteasyDeployment start()
           
static void start(ResteasyDeployment deployment)
           
static ResteasyDeployment start(java.lang.String bindPath)
           
static ResteasyDeployment start(java.lang.String bindPath, SecurityDomain domain)
           
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 ResteasyDeployment start()
                                throws java.lang.Exception
Throws:
java.lang.Exception

start

public static void start(ResteasyDeployment deployment)
                  throws java.lang.Exception
Throws:
java.lang.Exception

start

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

start

public static ResteasyDeployment start(java.lang.String bindPath,
                                       SecurityDomain domain)
                                throws java.lang.Exception
Throws:
java.lang.Exception

stop

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


Copyright © 2010. All Rights Reserved.