return start(bindPath, domain, deployment, initParams, contextParams);
}
public static ResteasyDeployment start(String bindPath, SecurityDomain domain, ResteasyDeployment deployment, Hashtable<String,String> initParams, Hashtable<String,String> contextParams) throws Exception
{
tjws = new TJWSEmbeddedJaxrsServer();
tjws.setDeployment(deployment);
tjws.setBindAddress(TestPortProvider.getHost());
tjws.setPort(TestPortProvider.getPort());
tjws.setRootResourcePath(bindPath);
tjws.setSecurityDomain(domain);