public class BaseContentTransformerComponent
extends org.gytheio.content.AbstractAsyncComponent<org.gytheio.content.transform.ContentTransformerWorker,org.gytheio.content.transform.TransformationRequest,org.gytheio.content.transform.TransformationReply>
ContentTransformerWorker
to perform the transformation, then uses a MessageProducer to send the reply.| Modifier and Type | Class and Description |
|---|---|
class |
BaseContentTransformerComponent.ContentTransformerWorkerProgressReporterImpl
Implementation of the progress reporter which sends reply messages with
progress on the transformation.
|
| Modifier and Type | Field and Description |
|---|---|
protected org.gytheio.content.transform.TransformationRequest |
lastRequest |
| Constructor and Description |
|---|
BaseContentTransformerComponent() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getConsumingMessageBodyClass() |
org.gytheio.content.transform.TransformationRequest |
getLastRequest()
Gets the last transformation request received.
|
protected void |
processRequest(org.gytheio.content.transform.TransformationRequest request) |
public org.gytheio.content.transform.TransformationRequest getLastRequest()
This is simply the last request, stored in-memory, with no indication as to it's status, it may have been completed days ago.
protected void processRequest(org.gytheio.content.transform.TransformationRequest request)
processRequest in class org.gytheio.content.AbstractAsyncComponent<org.gytheio.content.transform.ContentTransformerWorker,org.gytheio.content.transform.TransformationRequest,org.gytheio.content.transform.TransformationReply>public Class<?> getConsumingMessageBodyClass()
Copyright © 2014 Alfresco Software. All rights reserved.