info.magnolia.module.templating
Class TemplateRendererManager

java.lang.Object
  extended by info.magnolia.cms.beans.config.ObservedManager
      extended by info.magnolia.module.templating.TemplateRendererManager

public class TemplateRendererManager
extends ObservedManager

Manages the template renderers of the system.

Version:
$Revision: 41137 $ ($Author: gjoseph $)
Author:
fgiust

Field Summary
 
Fields inherited from class info.magnolia.cms.beans.config.ObservedManager
log, registeredUUIDs
 
Constructor Summary
TemplateRendererManager()
           
 
Method Summary
static TemplateRendererManager getInstance()
           
 TemplateRenderer getRenderer(String type)
           
protected  void onClear()
          The implementor should clear everything.
protected  void onRegister(Content node)
          Registers a node.
 void registerTemplateRenderer(String type, TemplateRenderer instance)
           
 
Methods inherited from class info.magnolia.cms.beans.config.ObservedManager
clear, register, reload, reload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateRendererManager

public TemplateRendererManager()
Method Detail

getInstance

public static TemplateRendererManager getInstance()
Returns:
Returns the instance.

onRegister

protected void onRegister(Content node)
Description copied from class: ObservedManager
Registers a node.

Specified by:
onRegister in class ObservedManager
See Also:
ObservedManager.onRegister(info.magnolia.cms.core.Content)

onClear

protected void onClear()
Description copied from class: ObservedManager
The implementor should clear everything. If needed the nodes will get registered.

Specified by:
onClear in class ObservedManager
See Also:
ObservedManager.onClear()

registerTemplateRenderer

public void registerTemplateRenderer(String type,
                                     TemplateRenderer instance)

getRenderer

public TemplateRenderer getRenderer(String type)


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.