public class BasicProcessExecutor extends AbstractProcessExecutor
| Constructor and Description |
|---|
BasicProcessExecutor() |
| 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 int execute(ProcessContext context) throws IOException
ProcessContext.context - the context to executeIOException - on eny error while executing the process.public void quit()
throws 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).IOException - on any errorCopyright © 2017 SAP SE. All Rights Reserved.