Class RenderingServiceImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.rendering.impl.RenderingServiceImpl
- All Implemented Interfaces:
RenderingService
,Adaptable
,Component
,Extensible
,TimestampedService
Implementation of RenderingService
- Author:
- Dragos Mihalache
-
Field Summary
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprocess
(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) Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Component
getApplicationStartedOrder
-
Field Details
-
EP_RENDER_ENGINES
- See Also:
-
-
Constructor Details
-
RenderingServiceImpl
public RenderingServiceImpl()
-
-
Method Details
-
registerContribution
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
registerContribution
in classDefaultComponent
-
unregisterContribution
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
unregisterContribution
in classDefaultComponent
-
getEngine
- Specified by:
getEngine
in interfaceRenderingService
-
process
Description copied from interface:RenderingService
Processes the given context and returns a collection of results.- Specified by:
process
in interfaceRenderingService
- Parameters:
renderingCtx
- the context- Returns:
- the result
- Throws:
RenderingException
-
registerEngine
- Specified by:
registerEngine
in interfaceRenderingService
-
unregisterEngine
- Specified by:
unregisterEngine
in interfaceRenderingService
-