|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstracts the process of loading pages from thier specifications as well as pooling of pages once loaded.
If the required page is not available, a page source may use an instance of IPageLoader
to actually load the page (and all of its nested components).
Method Summary | |
org.apache.hivemind.ClassResolver |
getClassResolver()
|
IPage |
getPage(IRequestCycle cycle,
java.lang.String pageName,
IMonitor monitor)
Gets a given page for the engine. |
void |
releasePage(IPage page)
Invoked after the engine is done with the page (typically, after the response to the client has been sent). |
Method Detail |
public IPage getPage(IRequestCycle cycle, java.lang.String pageName, IMonitor monitor)
cycle
- the current request cyclepageName
- the name of the page. May be qualified with a library id prefix, which may even be
nested. Unqualified names are searched for extensively in the application
namespace, and then in the framework namespace.monitor
- informed of any page loading activity
PageNotFoundException
- if pageName can't be resolved to a page specification (from which a page instance
can be generated).PageSpecificationResolver.resolve(IRequestCycle, String)
public void releasePage(IPage page)
public org.apache.hivemind.ClassResolver getClassResolver()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |