|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.protocol.http.AbstractHttpSessionStore
org.apache.wicket.protocol.http.HttpSessionStore
org.apache.wicket.protocol.http.SecondLevelCacheSessionStore
public class SecondLevelCacheSessionStore
FIXME document me!
| Nested Class Summary | |
|---|---|
static interface |
SecondLevelCacheSessionStore.IClusteredPageStore
Marker interface for PageStores that support replication of serialized pages across cluster, which means that the lastPage attribute of SecondLevelCachePageMap does not have to
be serialized; |
static interface |
SecondLevelCacheSessionStore.IPageStore
This interface is used by the SecondLevelCacheSessionStore so that pages can be stored to a persistent layer. |
static interface |
SecondLevelCacheSessionStore.ISerializationAwarePageStore
Some PageStores might want to preprocess page before serialization. |
| Nested classes/interfaces inherited from class org.apache.wicket.protocol.http.AbstractHttpSessionStore |
|---|
AbstractHttpSessionStore.SessionBindingListener |
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.protocol.http.AbstractHttpSessionStore |
|---|
application |
| Constructor Summary | |
|---|---|
SecondLevelCacheSessionStore(Application application,
SecondLevelCacheSessionStore.IPageStore pageStore)
Construct. |
|
| Method Summary | |
|---|---|
IPageMap |
createPageMap(java.lang.String name)
|
void |
destroy()
Called when the WebApplication is destroyed. |
SecondLevelCacheSessionStore.IPageStore |
getStore()
|
static IntHashMap<Page> |
getUsedPages(java.lang.String pageMapName)
|
IPageVersionManager |
newVersionManager(Page page)
|
void |
onEndRequest(Request request)
Noop implementation. |
protected void |
onUnbind(java.lang.String sessionId)
Template method that is called when the session is being detached from the store, which typically happens when the httpsession was invalidated. |
void |
setAttribute(Request request,
java.lang.String name,
java.lang.Object value)
Adds or replaces the attribute with the given name and value. |
| Methods inherited from class org.apache.wicket.protocol.http.HttpSessionStore |
|---|
getAttribute, getAttributeNames, removeAttribute |
| Methods inherited from class org.apache.wicket.protocol.http.AbstractHttpSessionStore |
|---|
bind, createPageMap, getHttpSession, getSessionId, invalidate, lookup, onBeginRequest, onBind, toWebRequest, unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecondLevelCacheSessionStore(Application application,
SecondLevelCacheSessionStore.IPageStore pageStore)
application - The application for this storepageStore - Page store for keeping page versions| Method Detail |
|---|
public static IntHashMap<Page> getUsedPages(java.lang.String pageMapName)
pageMapName -
public IPageMap createPageMap(java.lang.String name)
createPageMap in interface ISessionStorecreatePageMap in class HttpSessionStoreAbstractHttpSessionStore.createPageMap(java.lang.String,
org.apache.wicket.Session)public void onEndRequest(Request request)
AbstractHttpSessionStore
onEndRequest in interface ISessionStoreonEndRequest in class AbstractHttpSessionStorerequest - The requestAbstractHttpSessionStore.onEndRequest(org.apache.wicket.Request)public void destroy()
ISessionStore
destroy in interface ISessionStoredestroy in class AbstractHttpSessionStoreAbstractHttpSessionStore.destroy()public SecondLevelCacheSessionStore.IPageStore getStore()
public IPageVersionManager newVersionManager(Page page)
newVersionManager in interface ISessionStorenewVersionManager in class AbstractHttpSessionStorepage - The page for which this version manager must be created
AbstractHttpSessionStore.newVersionManager(org.apache.wicket.Page)
public void setAttribute(Request request,
java.lang.String name,
java.lang.Object value)
ISessionStore
setAttribute in interface ISessionStoresetAttribute in class HttpSessionStorerequest - the current requestname - the name of the attributevalue - the value of the attributeISessionStore.setAttribute(org.apache.wicket.Request,
java.lang.String, java.lang.Object)protected void onUnbind(java.lang.String sessionId)
AbstractHttpSessionStore
onUnbind in class AbstractHttpSessionStoresessionId - The session id of the session that was invalidated.AbstractHttpSessionStore.onUnbind(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||