|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface SecondLevelCacheSessionStore.ISerializationAwarePageStore
Some PageStores might want to preprocess page before serialization. For example if the PageStore serializes page, it might keep the serialized page during the request. So when the pagemap gets serialized (for session replication) in the request thread, the pagestore can provide the already serialized data.
Method Summary | |
---|---|
Page |
convertToPage(Object page)
|
Serializable |
prepareForSerialization(String sessionId,
Object page)
Process the page before the it gets serialized. |
Object |
restoreAfterSerialization(Serializable serializable)
This method should restore the serialized page to intermediate object that can be converted to real page instance using convertToPage(Object) . |
Methods inherited from interface org.apache.wicket.protocol.http.SecondLevelCacheSessionStore.IPageStore |
---|
containsPage, destroy, getPage, pageAccessed, removePage, storePage, unbind |
Method Detail |
---|
Serializable prepareForSerialization(String sessionId, Object page)
restoreAfterSerialization(Serializable)
.
sessionId
- page
-
Object restoreAfterSerialization(Serializable serializable)
convertToPage(Object)
.
sessionId
- serializable
-
Page convertToPage(Object page)
page
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |