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 ObservedManager
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,
Content treeDefinition)
onRegister
protected void onRegister(Content defNode)
- Description copied from class:
ObservedManager
- Registers a node.
- Specified by:
onRegister
in class 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 ObservedManager
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.