info.magnolia.rendering.template.registry
Class ConfiguredTemplateDefinitionManager

java.lang.Object
  extended by info.magnolia.cms.util.ModuleConfigurationObservingManager
      extended by info.magnolia.rendering.template.registry.ConfiguredTemplateDefinitionManager

@Singleton
public class ConfiguredTemplateDefinitionManager
extends ModuleConfigurationObservingManager

ObservedManager for TemplateDefinition configured in repository.

Version:
$Id$

Field Summary
protected  org.slf4j.Logger log
           
 
Constructor Summary
ConfiguredTemplateDefinitionManager(ModuleRegistry moduleRegistry, TemplateDefinitionRegistry templateDefinitionRegistry)
           
 
Method Summary
protected  String createId(javax.jcr.Node templateDefinitionNode)
           
protected  TemplateDefinitionProvider readProvider(javax.jcr.Node templateDefinitionNode)
           
protected  void reload(List<javax.jcr.Node> nodes)
           
 
Methods inherited from class info.magnolia.cms.util.ModuleConfigurationObservingManager
getObservedPaths, getReloadMonitor, getSession, onClear, onRegister, reload, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.slf4j.Logger log
Constructor Detail

ConfiguredTemplateDefinitionManager

@Inject
public ConfiguredTemplateDefinitionManager(ModuleRegistry moduleRegistry,
                                                  TemplateDefinitionRegistry templateDefinitionRegistry)
Method Detail

reload

protected void reload(List<javax.jcr.Node> nodes)
               throws javax.jcr.RepositoryException
Overrides:
reload in class ModuleConfigurationObservingManager
Throws:
javax.jcr.RepositoryException

readProvider

protected TemplateDefinitionProvider readProvider(javax.jcr.Node templateDefinitionNode)
                                           throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

createId

protected String createId(javax.jcr.Node templateDefinitionNode)
                   throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.