| java.lang.Object edu.rice.cs.util.newjvm.SlaveJVMRunner
SlaveJVMRunner | final public class SlaveJVMRunner (Code) | | This class is the root class for the Slave JVM. The Master JVM invokes the
SlaveJVMRunner.main method of this class,
which is never instantiated. See the
SlaveJVMRunner.main method documentation for information on the command line
parameters this class requires. If there is an error setting up the slave JVM before the RMI links can be
established, this JVM process will exit with an error code according to the following list:
- 1
- Invalid number of command line arguments.
- 2
- Error deserializing remote stub
- 3
- Error instantiating slave implementation class
If the slave JVM completes successfully, it will exit with code 0.
version: $Id: SlaveJVMRunner.java 4260 2007-10-10 20:28:34Z mgricken $ |
Field Summary | |
final public static boolean | SHOW_DEBUG_DIALOGS Whether Swing dialogs should be displayed with diagnostic
information if the slave is unable to register or contact the
main JVM. | final protected static Log | _log |
Method Summary | |
public static synchronized void | main(String[] args) The main method for invoking a slave JVM.
Parameters: args - Command-line parameters, of which there must be two or three. |
SHOW_DEBUG_DIALOGS | final public static boolean SHOW_DEBUG_DIALOGS(Code) | | Whether Swing dialogs should be displayed with diagnostic
information if the slave is unable to register or contact the
main JVM. If false, the information will be printed to (the
usually invisible) System.err.
Note that the master JVM will always be notified if possible if
there is a problem instantiating or registering the slave, so
it can take appropriate action. This flag only affects those
situations in which the master JVM cannot be contacted.
|
main | public static synchronized void main(String[] args)(Code) | | The main method for invoking a slave JVM.
Parameters: args - Command-line parameters, of which there must be two or three. The first is the absolute path to the file containing the serialized MasterRemote stub, and the second is the fully-qualified class name of theslave JVM implementation class. |
|
|