consciouscode.util
Class VmForker
java.lang.Object
consciouscode.util.ProcessRunner
consciouscode.util.VmForker
public class VmForker
- extends ProcessRunner
Methods inherited from class consciouscode.util.ProcessRunner |
destroy, fork, getDestroyOnShutdown, getProcessExitValue, getProcessStdIn, getProcessTag, isProcessRunning, setDestroyOnShutdown, setProcessTag, setStdErr, setStdOut, waitForExit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JVM_PROCESS_TAG
public static final String JVM_PROCESS_TAG
- See Also:
- Constant Field Values
VmForker
public VmForker(String mainClassName,
String[] args)
VmForker
public VmForker(String mainClassName,
String[] args,
String processTag)
getClasspath
public String getClasspath()
- Gets the classpath that will be provided to the forked VM.
By default, this property is the same classpath of this VM.
setClasspath
public void setClasspath(String classpath)
getCommand
public String[] getCommand()
- Description copied from class:
ProcessRunner
- Gets the command line that is used for the child process. Subclasses
can override this method to compute the command line dynamically.
- Overrides:
getCommand
in class ProcessRunner
isVmRunning
@Deprecated
public boolean isVmRunning()
- Deprecated. Renamed. Use
ProcessRunner.isProcessRunning()
.
getVmStdIn
@Deprecated
public OutputStream getVmStdIn()
- Deprecated. Renamed. Use
ProcessRunner.getProcessStdIn()
.
getVmExitValue
@Deprecated
public int getVmExitValue()
- Deprecated. Renamed. Use
ProcessRunner.getProcessExitValue()
.
Copyright © 2001–2012
Todd V. Jonker. All Rights Reserved.