public class RemoteServer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RemoteServer.CleanUpThread |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPENEJB_SERVER_DEBUG |
static java.lang.String |
SERVER_DEBUG_PORT |
static java.lang.String |
SERVER_SHUTDOWN_COMMAND |
static java.lang.String |
SERVER_SHUTDOWN_HOST |
static java.lang.String |
SERVER_SHUTDOWN_PORT |
static java.lang.String |
SOCKET_TIMEOUT |
static java.lang.String |
START |
static java.lang.String |
STOP |
Constructor and Description |
---|
RemoteServer() |
RemoteServer(int tries,
boolean verbose) |
RemoteServer(java.util.Properties overrides,
int tries,
boolean verbose) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
forceStop() |
int |
getPortStartup() |
java.lang.Process |
getServer() |
void |
init(java.util.Properties props) |
void |
kill3UNIX() |
void |
killOnExit() |
static void |
main(java.lang.String[] args) |
void |
setAdditionalClasspath(java.lang.String additionalClasspath) |
void |
setDebug(boolean debug) |
void |
setPortStartup(int portStartup) |
void |
start() |
void |
start(java.util.List<java.lang.String> additionalArgs,
java.lang.String cmd,
boolean checkPortAvailable) |
boolean |
stop() |
public static final java.lang.String SERVER_DEBUG_PORT
public static final java.lang.String SERVER_SHUTDOWN_PORT
public static final java.lang.String SERVER_SHUTDOWN_HOST
public static final java.lang.String SERVER_SHUTDOWN_COMMAND
public static final java.lang.String SOCKET_TIMEOUT
public static final java.lang.String OPENEJB_SERVER_DEBUG
public static final java.lang.String START
public static final java.lang.String STOP
public RemoteServer()
public RemoteServer(int tries, boolean verbose)
public RemoteServer(java.util.Properties overrides, int tries, boolean verbose)
public void init(java.util.Properties props)
public static void main(java.lang.String[] args)
public int getPortStartup()
public void setPortStartup(int portStartup)
public void destroy()
public void start()
public void start(java.util.List<java.lang.String> additionalArgs, java.lang.String cmd, boolean checkPortAvailable)
public void kill3UNIX()
public java.lang.Process getServer()
public boolean stop()
public void forceStop() throws java.lang.Exception
java.lang.Exception
public void setAdditionalClasspath(java.lang.String additionalClasspath)
public void killOnExit()
public void setDebug(boolean debug)