Class AbstractViewFileAsyncRenderer
java.lang.Object
org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer
com.xwiki.macros.viewfile.macro.async.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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(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, transformMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xwiki.rendering.async.internal.AsyncRenderer
getId, getJobGroupPath, isAsyncAllowed, isCacheAllowedMethods inherited from interface org.xwiki.rendering.async.internal.block.BlockAsyncRenderer
getTargetSyntax, isInline
-
Constructor Details
-
AbstractViewFileAsyncRenderer
public AbstractViewFileAsyncRenderer()
-
-
Method Details
-
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 rendererattachmentRef- the reference of the attachment used in the async rendering executionparameters- additional parameters needed in the execution
-