public class EmbeddedProcessExecutor extends BasicProcessExecutor
ProcessExecutor implementation spawning all process from the
current JVM.| Constructor and Description |
|---|
EmbeddedProcessExecutor() |
| Modifier and Type | Method and Description |
|---|---|
int |
execute(ProcessContext context)
Synchronously executes the given
ProcessContext. |
void |
quit()
Terminates this
ProcessExecutor and frees all associated resources. |
executepublic void quit()
throws java.io.IOException
ProcessExecutorProcessExecutor and frees all associated resources.
Note the lifecycle of a ProcessExecutor has tenant scope, i.e. there is no need to call ProcessExecutor.quit()
except when shutting down the server (what will be done automatically).quit in interface ProcessExecutorquit in class BasicProcessExecutorjava.io.IOException - on any errorpublic int execute(ProcessContext context) throws java.io.IOException
BasicProcessExecutorProcessContext.execute in interface ProcessExecutorexecute in class BasicProcessExecutorcontext - the context to executejava.io.IOException - on eny error while executing the process.Copyright © 2018 SAP SE. All Rights Reserved.