|
|||||||||
| 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 | |
|---|---|
IPage |
getPage(IRequestCycle cycle,
String pageName,
IMonitor monitor)
Gets a given page for the engine. |
IResourceResolver |
getResourceResolver()
|
void |
releasePage(IPage page)
Invoked after the engine is done with the page (typically, after the response to the client has been sent). |
void |
reset()
Invoked to have the source clear any internal cache. |
| Method Detail |
|---|
IPage getPage(IRequestCycle cycle,
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 activityvoid releasePage(IPage page)
void reset()
IResourceResolver getResourceResolver()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||