org.apache.openejb.config
Class RemoteServer
java.lang.Object
org.apache.openejb.config.RemoteServer
public class RemoteServer
- extends Object
NOTE: Do not add inner or anonymous classes or a dependency without updating ExecMojo
- Version:
- $Rev$ $Date$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER_DEBUG_PORT
public static final String SERVER_DEBUG_PORT
- See Also:
- Constant Field Values
SERVER_SHUTDOWN_PORT
public static final String SERVER_SHUTDOWN_PORT
- See Also:
- Constant Field Values
SERVER_SHUTDOWN_HOST
public static final String SERVER_SHUTDOWN_HOST
- See Also:
- Constant Field Values
SERVER_SHUTDOWN_COMMAND
public static final String SERVER_SHUTDOWN_COMMAND
- See Also:
- Constant Field Values
OPENEJB_SERVER_DEBUG
public static final String OPENEJB_SERVER_DEBUG
- See Also:
- Constant Field Values
START
public static final String START
- See Also:
- Constant Field Values
STOP
public static final String STOP
- See Also:
- Constant Field Values
RemoteServer
public RemoteServer()
RemoteServer
public RemoteServer(int tries,
boolean verbose)
init
public void init(Properties props)
main
public static void main(String[] args)
getPortStartup
public int getPortStartup()
setPortStartup
public void setPortStartup(int portStartup)
getProperties
public Properties getProperties()
destroy
public void destroy()
start
public void start()
start
public void start(List<String> additionalArgs,
String cmd,
boolean checkPortAvailable)
kill3UNIX
public void kill3UNIX()
getServer
public Process getServer()
stop
public boolean stop()
forceStop
public void forceStop()
throws Exception
- Throws:
Exception
setAdditionalClasspath
public void setAdditionalClasspath(String additionalClasspath)
killOnExit
public void killOnExit()
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.