public class RenderingServiceImpl extends DefaultComponent implements RenderingService
Modifier and Type | Field and Description |
---|---|
static String |
EP_RENDER_ENGINES |
lastModified
Constructor and Description |
---|
RenderingServiceImpl() |
Modifier and Type | Method and Description |
---|---|
RenderingEngine |
getEngine(String name) |
Collection<RenderingResult> |
process(RenderingContext renderingCtx)
Processes the given context and returns a collection of results.
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
registerEngine(RenderingEngine engine) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterEngine(String name) |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
public static final String EP_RENDER_ENGINES
public RenderingServiceImpl()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public RenderingEngine getEngine(String name)
getEngine
in interface RenderingService
public Collection<RenderingResult> process(RenderingContext renderingCtx) throws RenderingException
RenderingService
process
in interface RenderingService
renderingCtx
- the contextRenderingException
public void registerEngine(RenderingEngine engine)
registerEngine
in interface RenderingService
public void unregisterEngine(String name)
unregisterEngine
in interface RenderingService
Copyright © 2016 Nuxeo SA. All rights reserved.