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
{
sun = new SunHttpJaxrsServer();
sun.setDeployment(deployment);
sun.setPort(TestPortProvider.getPort());
sun.setRootResourcePath(bindPath);
sun.setSecurityDomain(domain);
sun.start();