org.apache.openejb.config
Class RemoteServer

java.lang.Object
  extended by 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$

Nested Class Summary
static class RemoteServer.CleanUpThread
           
 
Field Summary
static String OPENEJB_SERVER_DEBUG
           
static String SERVER_DEBUG_PORT
           
static String SERVER_SHUTDOWN_COMMAND
           
static String SERVER_SHUTDOWN_HOST
           
static String SERVER_SHUTDOWN_PORT
           
static String START
           
static String STOP
           
 
Constructor Summary
RemoteServer()
           
RemoteServer(int tries, boolean verbose)
           
 
Method Summary
 void destroy()
           
 void forceStop()
           
 int getPortStartup()
           
 Properties getProperties()
           
 Process getServer()
           
 void init(Properties props)
           
 void kill3UNIX()
           
 void killOnExit()
           
static void main(String[] args)
           
 void setAdditionalClasspath(String additionalClasspath)
           
 void setPortStartup(int portStartup)
           
 void start()
           
 void start(List<String> additionalArgs, String cmd, boolean checkPortAvailable)
           
 boolean stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

RemoteServer

public RemoteServer()

RemoteServer

public RemoteServer(int tries,
                    boolean verbose)
Method Detail

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.