|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPageSource
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()
Gets the class resolver used to load all pages / page components. |
IPage |
getPage(IRequestCycle cycle,
String pageName)
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 |
|---|
IPage getPage(IRequestCycle cycle,
String pageName)
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.
PageNotFoundException - if pageName can't be resolved to a page specification (from which a page instance
can be generated).PageSpecificationResolver.resolve(IRequestCycle, String)void releasePage(IPage page)
page - The page to release.org.apache.hivemind.ClassResolver getClassResolver()
ClassResolver instance used to load classes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||