|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 | |
IAsset |
getContextAsset(java.lang.String assetPath)
Gets a cached asset. |
IAsset |
getExternalAsset(java.lang.String URL)
Gets a cached asset. |
IBinding |
getFieldBinding(java.lang.String fieldName)
Gets a field binding for the named field (the name includes the class name and the field). |
IPage |
getPage(IEngine engine,
java.lang.String pageName,
IMonitor monitor)
Gets a given page for the engine. |
IAsset |
getPrivateAsset(java.lang.String resourcePath)
Gets a cached asset. |
IBinding |
getStaticBinding(java.lang.String value)
Like getFieldBinding(String) , except for static bindings. |
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 |
public IPage getPage(IEngine engine, java.lang.String pageName, IMonitor monitor) throws PageLoaderException
public void releasePage(IPage page)
public void reset()
public IBinding getFieldBinding(java.lang.String fieldName)
public IBinding getStaticBinding(java.lang.String value)
getFieldBinding(String)
, except for static bindings.public IAsset getExternalAsset(java.lang.String URL)
public IAsset getContextAsset(java.lang.String assetPath)
public IAsset getPrivateAsset(java.lang.String resourcePath)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |