info.magnolia.module.admininterface
Class PageHandlerManager
java.lang.Object
info.magnolia.cms.beans.config.ObservedManager
info.magnolia.module.admininterface.PageHandlerManager
public class PageHandlerManager
- extends ObservedManager
Manages the page handlers. A page is a very simple dialog without any configuration.
- Author:
- philipp
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageHandlerManager
public PageHandlerManager()
getPageHandler
public PageMVCHandler getPageHandler(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Find a handler by name
- Parameters:
name
- request
- response
-
- Returns:
- an instance of the handlers
onRegister
protected void onRegister(Content defNode)
- register the pages from the config
- Specified by:
onRegister
in class ObservedManager
- Parameters:
defNode
-
registerPageDefinition
public void registerPageDefinition(PageHandlerManager.PageDefinition pageDefinition)
registerPageDefinition
public void registerPageDefinition(String name,
PageHandlerManager.PageDefinition pageDefinition)
- Deprecated.
getInstance
public static PageHandlerManager getInstance()
- Returns:
- Returns the instance.
onClear
protected void onClear()
- Description copied from class:
ObservedManager
- The implementor should clear everything. If needed the nodes will get registered.
- Specified by:
onClear
in class ObservedManager
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.