info.magnolia.module.admininterface
Class PageHandlerManager
java.lang.Object
info.magnolia.cms.beans.config.ObservedManager
info.magnolia.module.admininterface.PageHandlerManager
@Singleton
public class PageHandlerManager
- extends info.magnolia.cms.beans.config.ObservedManager
Manages the page handlers. A page is a very simple dialog without any configuration.
- Author:
- philipp
Fields inherited from class info.magnolia.cms.beans.config.ObservedManager |
log, registeredUUIDs |
Methods inherited from class info.magnolia.cms.beans.config.ObservedManager |
clear, register, reload, reload |
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(info.magnolia.cms.core.Content defNode)
- register the pages from the config
- Specified by:
onRegister
in class info.magnolia.cms.beans.config.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()
- Specified by:
onClear
in class info.magnolia.cms.beans.config.ObservedManager
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.