Class EmbeddedProcessExecutor
java.lang.Object
de.hybris.platform.mediaconversion.os.process.AbstractProcessExecutor
de.hybris.platform.mediaconversion.os.process.rmi.BasicProcessExecutor
de.hybris.platform.mediaconversion.os.process.impl.EmbeddedProcessExecutor
- All Implemented Interfaces:
ProcessExecutor
ProcessExecutor implementation spawning all process from the
current JVM.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintexecute(ProcessContext context) Synchronously executes the givenProcessContext.voidquit()Terminates thisProcessExecutorand frees all associated resources.Methods inherited from class de.hybris.platform.mediaconversion.os.process.AbstractProcessExecutor
execute
-
Constructor Details
-
EmbeddedProcessExecutor
public EmbeddedProcessExecutor()
-
-
Method Details
-
quit
Description copied from interface:ProcessExecutorTerminates thisProcessExecutorand frees all associated resources. Note the lifecycle of aProcessExecutorhas tenant scope, i.e. there is no need to callProcessExecutor.quit()except when shutting down the server (what will be done automatically).- Specified by:
quitin interfaceProcessExecutor- Overrides:
quitin classBasicProcessExecutor- Throws:
IOException- on any error
-
execute
Description copied from class:BasicProcessExecutorSynchronously executes the givenProcessContext.- Specified by:
executein interfaceProcessExecutor- Overrides:
executein classBasicProcessExecutor- Parameters:
context- the context to execute- Returns:
- the exit code of the underlying os process.
- Throws:
IOException- on eny error while executing the process.
-