info.magnolia.cms.util
Class ModuleConfigurationObservingManager
java.lang.Object
info.magnolia.cms.util.WorkspaceObservingManager
info.magnolia.cms.util.ModuleConfigurationObservingManager
- Direct Known Subclasses:
- ConfiguredRendererManager, ConfiguredTemplateDefinitionManager
public abstract class ModuleConfigurationObservingManager
- extends WorkspaceObservingManager
Base class for managers that monitor configuration within modules and react when its changed to reload. Configuration
is read from a sub path of each modules configuration node. Subclasses override either reload(List) or the pair
onClear() and onRegister().
Methods inherited from class info.magnolia.cms.util.WorkspaceObservingManager |
getDelay, getEventTypesMask, getMaxDelay, getNodeTypes, getObservedPath, getReloadMonitor, getWorkspace, isIncludeSubNodes, setDelay, setMaxDelay, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleConfigurationObservingManager
protected ModuleConfigurationObservingManager(String pathWithinModule,
ModuleRegistry moduleRegistry)
registerChangeListener
protected void registerChangeListener(javax.jcr.observation.EventListener eventListener)
- Overrides:
registerChangeListener
in class WorkspaceObservingManager
onStart
protected void onStart()
- Overrides:
onStart
in class WorkspaceObservingManager
reload
protected void reload()
- Specified by:
reload
in class WorkspaceObservingManager
reload
protected void reload(List<javax.jcr.Node> nodes)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
onClear
protected void onClear()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
onRegister
protected void onRegister(javax.jcr.Node node)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getSession
protected javax.jcr.Session getSession()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getObservedPaths
protected List<String> getObservedPaths()
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.