Package com.levigo.jadice.server.xml
Class XSLTransformationWorker
- java.lang.Object
-
- com.levigo.jadice.server.core.NodeWorker<T>
-
- com.levigo.jadice.server.core.StreamWorker<XSLTransformationNode>
-
- com.levigo.jadice.server.xml.XSLTransformationWorker
-
- All Implemented Interfaces:
QualifiedLogEventReceiver
,WorkerController<XSLTransformationNode>
,Runnable
public class XSLTransformationWorker extends StreamWorker<XSLTransformationNode>
-
-
Constructor Summary
Constructors Constructor Description XSLTransformationWorker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XSLTransformerPool
getTransformerPool()
void
setTransformerPool(XSLTransformerPool transformerPool)
Set theXSLTransformerPool
.protected void
work(Stream stream)
Implement this method in order to work on a single stream.-
Methods inherited from class com.levigo.jadice.server.core.StreamWorker
accept, reject, work
-
Methods inherited from class com.levigo.jadice.server.core.NodeWorker
abort, abortNow, addInputBundle, addOutputBundle, doAbort, doAbortNow, error, error, error, fail, fail, fail, getController, getInputBundle, getInputBundles, getJob, getLimitSupport, getNode, getOutputBundle, getOutputBundles, getServerJob, getState, getStreamTransportFactory, getTransportSender, initialize, isAbortRequested, postWork, preWork, run, setDescriptor, setJob, toString, warn, warn, warn
-
-
-
-
Method Detail
-
work
protected void work(Stream stream) throws Throwable
Description copied from class:StreamWorker
Implement this method in order to work on a single stream.- Specified by:
work
in classStreamWorker<XSLTransformationNode>
- Parameters:
stream
- theStream
to work on- Throws:
Throwable
- in case of processing failure
-
getTransformerPool
public XSLTransformerPool getTransformerPool()
-
setTransformerPool
public void setTransformerPool(XSLTransformerPool transformerPool)
Set theXSLTransformerPool
. Usually done in Spring XML configuration.- Parameters:
transformerPool
- a configuredXSLTransformerPool
-
-