| java.lang.Object org.apache.harmony.rmi.JavaInvoker
JavaInvoker | final public class JavaInvoker (Code) | | Invoker for Virtual Machine.
More methods running VM in various configurations are welcome.
author: Vasily Zakharov version: $Revision: 1.1.2.5 $ |
Method Summary | |
public static SubProcess | invokeSimilar(String[] options, String className, String[] params, boolean useEndorsedDirs, boolean useBootClassPath) Invokes Java machine with configuration similar to the current one.
The properties of current VM are extracted from system properties
and passed to new VM.
Parameters: options - Java options. Parameters: className - Name of the class to run. Parameters: params - Parameters to pass to the class. Parameters: useEndorsedDirs - If endorsed dirs (-Djava.endorsed.dirs )from this VM should be applied. Parameters: useBootClassPath - If bootclasspath (-Xbootclasspath )from this VM should be applied. |
invokeSimilar | public static SubProcess invokeSimilar(String[] options, String className, String[] params, boolean useEndorsedDirs, boolean useBootClassPath) throws IOException(Code) | | Invokes Java machine with configuration similar to the current one.
The properties of current VM are extracted from system properties
and passed to new VM.
Parameters: options - Java options. Parameters: className - Name of the class to run. Parameters: params - Parameters to pass to the class. Parameters: useEndorsedDirs - If endorsed dirs (-Djava.endorsed.dirs )from this VM should be applied. Parameters: useBootClassPath - If bootclasspath (-Xbootclasspath )from this VM should be applied. The process created. throws: IOException - If some error occurs. |
|
|