info.magnolia.module.admininterface
Class TreeHandlerManager<H extends AdminTreeMVCHandler>
java.lang.Object
info.magnolia.cms.beans.config.ObservedManager
info.magnolia.module.admininterface.TreeHandlerManager<H>
@Singleton
public class TreeHandlerManager<H extends AdminTreeMVCHandler>
- extends info.magnolia.cms.beans.config.ObservedManager
Fields inherited from class info.magnolia.cms.beans.config.ObservedManager |
log, registeredUUIDs |
Methods inherited from class info.magnolia.cms.beans.config.ObservedManager |
clear, getNodeByIdentifierOrPath, register, reload, reload |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeHandlerManager
public TreeHandlerManager()
getTreeHandler
public AdminTreeMVCHandler getTreeHandler(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Get the tree handler registered under a particular name.
- Parameters:
name
- request
- response
-
- Returns:
registerTreeHandler
protected void registerTreeHandler(String name,
String repository,
Class<H> treeHandler,
info.magnolia.cms.core.Content treeDefinition)
onRegister
protected void onRegister(info.magnolia.cms.core.Content defNode)
- Specified by:
onRegister
in class info.magnolia.cms.beans.config.ObservedManager
getInstance
public static <H extends AdminTreeMVCHandler> TreeHandlerManager<H> getInstance()
- Returns:
- Returns the instance.
onClear
protected void onClear()
- Clear the handlers
- Specified by:
onClear
in class info.magnolia.cms.beans.config.ObservedManager
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.