Class ProcessManager
java.lang.Object
com.sun.enterprise.universal.process.ProcessManager
Deprecated.
ProcessManager.java
Use this class for painless process spawning.
This class was specifically written to be compatable with 1.4
- Since:
- JDK 1.4
- Author:
- bnevins 2005
-
Constructor Summary
ConstructorsConstructorDescriptionProcessManager(String... cmds) Deprecated.ProcessManager(List<String> Cmdline) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintexecute()Deprecated.Deprecated.Deprecated.voidsetEcho(boolean newEcho) Deprecated.Should the output of the process be echoed to stdout?voidsetEnvironment(String[] env) Deprecated.voidsetStdinLines(List<String> list) Deprecated.voidsetTimeoutMsec(int num) Deprecated.toString()Deprecated.voidwaitForReaderThreads(boolean b) Deprecated.
-
Constructor Details
-
ProcessManager
Deprecated. -
ProcessManager
Deprecated.
-
-
Method Details
-
setTimeoutMsec
public void setTimeoutMsec(int num) Deprecated. -
setEnvironment
Deprecated. -
setStdinLines
Deprecated. -
waitForReaderThreads
public void waitForReaderThreads(boolean b) Deprecated. -
setEcho
public void setEcho(boolean newEcho) Deprecated.Should the output of the process be echoed to stdout?- Parameters:
newEcho-
-
execute
Deprecated.- Throws:
ProcessManagerException
-
getStdout
Deprecated. -
getStderr
Deprecated. -
toString
Deprecated.
-
ProcessBuilderinstead.