info.magnolia.module.admininterface
Class TreeHandlerManager<H extends AdminTreeMVCHandler>
java.lang.Object
info.magnolia.cms.beans.config.ObservedManager
info.magnolia.module.admininterface.TreeHandlerManager<H>
public class TreeHandlerManager<H extends AdminTreeMVCHandler>
- extends ObservedManager
Method Summary |
static
|
getInstance()
|
AdminTreeMVCHandler |
getTreeHandler(java.lang.String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get the tree handler registered under a particular name. |
protected void |
onClear()
Clear the handlers |
protected void |
onRegister(Content defNode)
Registers a node. |
protected void |
registerTreeHandler(java.lang.String name,
java.lang.String repository,
java.lang.Class<H> treeHandler,
Content treeDefinition)
|
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(java.lang.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(java.lang.String name,
java.lang.String repository,
java.lang.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-2011 Magnolia International Ltd.. All Rights Reserved.