protected class PageStoreManager.PersistentRequestAdapter extends RequestAdapter
| Constructor and Description |
|---|
PersistentRequestAdapter(IPageManagerContext context)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected IManageablePage |
getPage(int id)
Returns the page with specified id.
|
protected void |
newSessionCreated()
Notification on new session being created.
|
protected void |
removePage(IManageablePage page)
Removes a page from the cache and the stores (
IPageStore and
IDataStore). |
protected void |
storeTouchedPages(List<IManageablePage> touchedPages)
Store the list of stateful pages.
|
bind, commitRequest, findPage, getSessionAttribute, getSessionId, setSessionAttribute, touch, untouchpublic PersistentRequestAdapter(IPageManagerContext context)
context - protected IManageablePage getPage(int id)
RequestAdapterRequestAdapter during
the rest of request processing.getPage in class RequestAdapternull if the page does not exist.protected void removePage(IManageablePage page)
RequestAdapterIPageStore and
IDataStore). Any attempt to access it later
will lead to PageExpiredExceptionremovePage in class RequestAdapterpage - The page instance to removeprotected void newSessionCreated()
RequestAdapternewSessionCreated in class RequestAdapterprotected void storeTouchedPages(List<IManageablePage> touchedPages)
RequestAdapterstoreTouchedPages in class RequestAdapterCopyright © 2006–2018 Apache Software Foundation. All rights reserved.