Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.rendering.impl
Class RenderingServiceImpl

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.ecm.platform.rendering.impl.RenderingServiceImpl
All Implemented Interfaces:
RenderingService, Adaptable, Component, Extensible

public class RenderingServiceImpl
extends DefaultComponent
implements RenderingService

Implementation of RenderingService

Author:
Dragos Mihalache

Field Summary
static String EP_RENDER_ENGINES
           
 
Constructor Summary
RenderingServiceImpl()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, applicationStarted, deactivate, getAdapter, registerExtension, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EP_RENDER_ENGINES

public static final String EP_RENDER_ENGINES
See Also:
Constant Field Values
Constructor Detail

RenderingServiceImpl

public RenderingServiceImpl()
Method Detail

registerContribution

public void registerContribution(Object contribution,
                                 String extensionPoint,
                                 ComponentInstance contributor)
Overrides:
registerContribution in class DefaultComponent

unregisterContribution

public void unregisterContribution(Object contribution,
                                   String extensionPoint,
                                   ComponentInstance contributor)
Overrides:
unregisterContribution in class DefaultComponent

getEngine

public RenderingEngine getEngine(String name)
Specified by:
getEngine in interface RenderingService

process

public Collection<RenderingResult> process(RenderingContext renderingCtx)
                                    throws RenderingException
Description copied from interface: RenderingService
Processes the given context and returns a collection of results.

Specified by:
process in interface RenderingService
Parameters:
renderingCtx - the context
Returns:
the result
Throws:
RenderingException

registerEngine

public void registerEngine(RenderingEngine engine)
Specified by:
registerEngine in interface RenderingService

unregisterEngine

public void unregisterEngine(String name)
Specified by:
unregisterEngine in interface RenderingService

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.