|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PagePool
Provides access to pages, creating them as necessary, and pooling them between requests.
| Method Summary | |
|---|---|
Page |
checkout(String pageName)
Obtains a page instance from the pool via a logical page name. |
void |
discard(Page page)
Discards a page, which occurs when there are errors invoking lifecycle methods on the page. |
void |
release(Page page)
Releases a previously checked-out page. |
| Method Detail |
|---|
Page checkout(String pageName)
pageName - the canonical page name
RuntimeException - if the name is not valid, if the page cannot be loaded, or if an instance of the page
can't be created.void release(Page page)
page - a previously checked-out pagevoid discard(Page page)
page - a previously checked-out page
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||