Package org.alfresco.repo.rendition2
Class DummyTransformEventProducer
- java.lang.Object
-
- org.alfresco.repo.rendition2.DummyTransformEventProducer
-
- All Implemented Interfaces:
TransformEventProducer
public class DummyTransformEventProducer extends java.lang.Object implements TransformEventProducer
Used to send transform response messages to remote transform clients. The response is identical to that produced by the Alfresco Transform Service (ATS).Not supported in community edition.
-
-
Constructor Summary
Constructors Constructor Description DummyTransformEventProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidproduceTransformEvent(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, java.io.InputStream transformInputStream, TransformDefinition transformDefinition, int transformContentHashCode)Stores content from transformInputStream on a defined store, produces a TransformReply response message and send it to a specific queue defined in transformDefinition.
-
-
-
Method Detail
-
produceTransformEvent
public void produceTransformEvent(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, java.io.InputStream transformInputStream, TransformDefinition transformDefinition, int transformContentHashCode)Description copied from interface:TransformEventProducerStores content from transformInputStream on a defined store, produces a TransformReply response message and send it to a specific queue defined in transformDefinition.- Specified by:
produceTransformEventin interfaceTransformEventProducer- Parameters:
sourceNodeRef- the node from which the content is retrieved.transformInputStream- content resulted after transformation.transformDefinition- which defines the transform, where to sent the response and some client specified data.transformContentHashCode- hash code of the resulted content.
-
-