public class LibreOfficeConversionWorker extends StreamWorker<LibreOfficeConversionNode>
LibreOfficeConversionNode
.
Be aware of the class path issue described in
LibreOfficeConversionNode
!
Constructor and Description |
---|
LibreOfficeConversionWorker() |
Modifier and Type | Method and Description |
---|---|
protected void |
doAbort()
NodeWorker implementations can provide here own logic that shall be
performed when an abort is triggered.
|
protected void |
forceShutdown(Thread workerThread) |
LibreOfficeInstancePool |
getInstancePool() |
void |
initialize()
Create a temp working directory
|
void |
setInstancePool(LibreOfficeInstancePool instancePool)
Set the
LibreOfficeInstancePool . |
protected void |
storeDocComponent(XComponent xDoc,
String storeUrl) |
protected void |
work(Stream stream)
Implement this method in order to work on a single stream.
|
accept, reject, work
abort, abortNow, addInputBundle, addOutputBundle, doAbortNow, error, error, error, fail, fail, fail, getController, getInputBundle, getInputBundles, getJob, getLimitSupport, getNode, getOutputBundle, getOutputBundles, getServerJob, getState, getStreamTransportFactory, getTransportSender, isAbortRequested, postWork, preWork, run, setDescriptor, setJob, toString, warn, warn, warn
public void initialize() throws JobException
initialize
in class NodeWorker<LibreOfficeConversionNode>
JobException
protected void work(Stream stream) throws Throwable
StreamWorker
work
in class StreamWorker<LibreOfficeConversionNode>
Throwable
protected void doAbort()
NodeWorker
doAbort
in class NodeWorker<LibreOfficeConversionNode>
protected void storeDocComponent(XComponent xDoc, String storeUrl) throws Exception
Exception
protected void forceShutdown(Thread workerThread)
public LibreOfficeInstancePool getInstancePool()
public void setInstancePool(LibreOfficeInstancePool instancePool)
LibreOfficeInstancePool
. Usually done in Spring XML configurationinstancePool
- an LibreOfficeInstancePoolCopyright © 2017 levigo holding gmbh. All rights reserved.