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 info.magnolia.cms.beans.config.ObservedManager

Manages the template renderers of the system.

Version:
$Revision: 36512 $ ($Author: fgrilli $)
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()
           
protected  void onRegister(info.magnolia.cms.core.Content 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(info.magnolia.cms.core.Content node)
Specified by:
onRegister in class info.magnolia.cms.beans.config.ObservedManager
See Also:
ObservedManager.onRegister(info.magnolia.cms.core.Content)

onClear

protected void onClear()
Specified by:
onClear in class info.magnolia.cms.beans.config.ObservedManager
See Also:
ObservedManager.onClear()

registerTemplateRenderer

public void registerTemplateRenderer(String type,
                                     TemplateRenderer instance)

getRenderer

public TemplateRenderer getRenderer(String type)


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