PageSource
, storing it into the {@link javax.servlet.ServletContext}using a unique key (usually built from the application name). The PageSource
acts as a pool for {@link IPage}instances. Pages are retrieved from the pool using {@link #getPage(IRequestCycle,String,IMonitor)}and are later returned to the pool using {@link #releasePage(IPage)}.
TBD: Pooled pages stay forever. Need a strategy for cleaning up the pool, tracking which pages have been in the pool the longest, etc. A mechanism for reporting pool statistics would be useful. @author Howard Lewis Ship
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|