Class AbstractViewFileAsyncRenderer

  • All Implemented Interfaces:
    org.xwiki.rendering.async.internal.AsyncRenderer, org.xwiki.rendering.async.internal.block.BlockAsyncRenderer

    @Unstable
    public abstract class AbstractViewFileAsyncRenderer
    extends org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer
    Abstract class used to add a default initialization for AbstractBlockAsyncRenderer.
    Since:
    1.29.0
    Version:
    $Id$
    • Field Summary

      • Fields inherited from class org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer

        componentManagerProvider, macroTransformation, renderingContext, transformationManager
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initialize​(org.xwiki.rendering.transformation.MacroTransformationContext context, org.xwiki.model.reference.AttachmentReference attachmentRef, Map<String,​String> parameters)
      Initialize the resources needed in the execution of the async renderer.
      • Methods inherited from class org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer

        createId, execute, isRendered, removeTopLevelParagraph, render, render, transform
      • Methods inherited from interface org.xwiki.rendering.async.internal.AsyncRenderer

        getId, getJobGroupPath, isAsyncAllowed, isCacheAllowed
      • Methods inherited from interface org.xwiki.rendering.async.internal.block.BlockAsyncRenderer

        getTargetSyntax, isInline
    • Constructor Detail

      • AbstractViewFileAsyncRenderer

        public AbstractViewFileAsyncRenderer()
    • Method Detail

      • initialize

        public void initialize​(org.xwiki.rendering.transformation.MacroTransformationContext context,
                               org.xwiki.model.reference.AttachmentReference attachmentRef,
                               Map<String,​String> parameters)
        Initialize the resources needed in the execution of the async renderer.
        Parameters:
        context - the content passed to the execution of the async renderer
        attachmentRef - the reference of the attachment used in the async rendering execution
        parameters - additional parameters needed in the execution