org.jppf.server
Class DriverLauncher
java.lang.Object
org.jppf.server.DriverLauncher
public class DriverLauncher
- extends Object
This class is intended as a controller for the JPPF driver, to enable stopping and restarting it when requested.
It performs the following operations:
- open a server socket the driver will listen to (port number is dynamically attributed)
- Start the JPPF driver as a subprocess, sending the the server socket port number as an argument
- Wait for the subprocess to exit
- If the subprocess exit code is equal to 2, the subprocess is restarted
- Author:
- Laurent Cohen
|
Method Summary |
static void |
main(String... args)
Start this application, then the JPPF driver a subprocess. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DriverLauncher
public DriverLauncher()
main
public static void main(String... args)
- Start this application, then the JPPF driver a subprocess.
- Parameters:
args - not used.
Copyright © 2005-2010 JPPF Team.