public class ServerLauncher extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_TIMEOUT |
protected static String |
SERVER_FAILED |
| Constructor and Description |
|---|
ServerLauncher(AbstractTestServerBase b) |
ServerLauncher(String theClassName) |
ServerLauncher(String theClassName,
boolean inprocess) |
ServerLauncher(String theClassName,
Map<String,String> p,
String[] args) |
ServerLauncher(String theClassName,
Map<String,String> p,
String[] args,
boolean inprocess) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
launchServer() |
void |
signalStop() |
boolean |
stopServer() |
int |
waitForServer() |
public static final int DEFAULT_TIMEOUT
protected static final String SERVER_FAILED
public ServerLauncher(String theClassName)
public ServerLauncher(AbstractTestServerBase b)
public ServerLauncher(String theClassName, boolean inprocess)
public void signalStop()
throws IOException
IOExceptionpublic boolean stopServer()
throws IOException
IOExceptionpublic boolean launchServer()
throws IOException
IOExceptionpublic int waitForServer()
Apache CXF