public class JavaProcess extends java.lang.Object implements ApplicationComponent
Constructor and Description |
---|
JavaProcess(java.lang.String canonicalNameOfMainClass,
java.util.List<java.lang.String> arguments) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getErrorStream() |
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream() |
ApplicationComponent |
getParentApplicationComponent() |
java.lang.Process |
getProcess() |
static void |
main(java.lang.String[] args) |
void |
processInit() |
void |
processQuit() |
void |
setParentApplicationComponent(ApplicationComponent parent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requestInit, requestQuit
public JavaProcess(java.lang.String canonicalNameOfMainClass, java.util.List<java.lang.String> arguments)
public void setParentApplicationComponent(ApplicationComponent parent)
setParentApplicationComponent
in interface ApplicationComponent
public ApplicationComponent getParentApplicationComponent()
getParentApplicationComponent
in interface ApplicationComponent
public static void main(java.lang.String[] args) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public java.io.InputStream getErrorStream()
public java.io.OutputStream getOutputStream()
public java.io.InputStream getInputStream()
public java.lang.Process getProcess()
public void processInit()
processInit
in interface ApplicationComponent
public void processQuit()
processQuit
in interface ApplicationComponent