Class FailoverContentTransformer

  • All Implemented Interfaces:
    ContentWorker, ContentTransformer, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    @Deprecated
    @AlfrescoPublicApi
    public class FailoverContentTransformer
    extends AbstractContentTransformer2
    implements org.springframework.beans.factory.InitializingBean
    Deprecated.
    The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
    This class is a transformer which contains a fixed sequence of delegate transformers. Requests to transform a document will be passed to the first transformer in the sequence. If that transformer successfully transforms the document then the process is complete. However should it fail, the transformation will be passed on to the next transformer in the sequence and so on.

    Transformers are considered to have failed of they throw an exception.

    Author:
    Neil McErlean