edu.rice.cs.util.newjvm
Class SlaveJVMRunner
java.lang.Object
|
+--edu.rice.cs.util.newjvm.SlaveJVMRunner
- public final class SlaveJVMRunner
- extends Object
This class is used for its main(java.lang.String[])
method, which is used
when a new slave JVM is invoked. See the 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,v 1.3 2002/04/14 16:41:52 brianstoler Exp $
Constructor Summary |
private |
SlaveJVMRunner()
Private constructor to prevent instantiation. |
Method Summary |
static void |
main(String[] args)
The main method for invoking a slave JVM. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
SlaveJVMRunner
private SlaveJVMRunner()
- Private constructor to prevent instantiation.
main
public static void main(String[] args)
- The main method for invoking a slave JVM.
- Parameters:
args
- Command-line parameters, of which there must be two.
The first is the absolute path to the file containing the serialized
MasterRemote stub, and the second is the fully-qualified class name
of the slave JVM implementation class.