org.jboss.resteasy.test
Class EmbeddedContainer
java.lang.Object
org.jboss.resteasy.test.EmbeddedContainer
public class EmbeddedContainer
- extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Method Summary |
static Class |
getBootstrap()
|
static boolean |
isServlet()
Exists for tests that require a servlet container behind the scenes. |
static void |
setBootstrap(Class bootstrap)
|
static ResteasyDeployment |
start()
|
static ResteasyDeployment |
start(Hashtable<String,String> initParams)
|
static ResteasyDeployment |
start(Hashtable<String,String> initParams,
Hashtable<String,String> contextParams)
|
static void |
start(ResteasyDeployment deployment)
|
static ResteasyDeployment |
start(String bindPath)
|
static ResteasyDeployment |
start(String bindPath,
Hashtable<String,String> initParams)
|
static ResteasyDeployment |
start(String bindPath,
Hashtable<String,String> initParams,
Hashtable<String,String> contextParams)
|
static ResteasyDeployment |
start(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 |
EmbeddedContainer
public EmbeddedContainer()
getBootstrap
public static Class getBootstrap()
isServlet
public static boolean isServlet()
- Exists for tests that require a servlet container behind the scenes.
- Returns:
setBootstrap
public static void setBootstrap(Class bootstrap)
start
public static ResteasyDeployment start()
throws Exception
- Throws:
Exception
start
public static ResteasyDeployment start(String bindPath)
throws Exception
- Throws:
Exception
start
public static ResteasyDeployment start(Hashtable<String,String> initParams)
throws Exception
- Throws:
Exception
start
public static ResteasyDeployment start(Hashtable<String,String> initParams,
Hashtable<String,String> contextParams)
throws Exception
- Throws:
Exception
start
public static ResteasyDeployment start(String bindPath,
Hashtable<String,String> initParams)
throws Exception
- Throws:
Exception
start
public static ResteasyDeployment start(String bindPath,
Hashtable<String,String> initParams,
Hashtable<String,String> contextParams)
throws Exception
- Throws:
Exception
start
public static ResteasyDeployment start(String bindPath,
SecurityDomain domain)
throws Exception
- Throws:
Exception
start
public static void start(ResteasyDeployment deployment)
throws Exception
- Throws:
Exception
stop
public static void stop()
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.