|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 java.lang.ThreadLocal |
getUsedPages()
|
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 versionsMethod Detail |
---|
public static java.lang.ThreadLocal getUsedPages()
public IPageMap createPageMap(java.lang.String name)
createPageMap
in interface ISessionStore
createPageMap
in class HttpSessionStore
AbstractHttpSessionStore.createPageMap(java.lang.String,
org.apache.wicket.Session)
public void onEndRequest(Request request)
AbstractHttpSessionStore
onEndRequest
in interface ISessionStore
onEndRequest
in class AbstractHttpSessionStore
request
- The requestAbstractHttpSessionStore.onEndRequest(org.apache.wicket.Request)
public void destroy()
ISessionStore
destroy
in interface ISessionStore
destroy
in class AbstractHttpSessionStore
AbstractHttpSessionStore.destroy()
public SecondLevelCacheSessionStore.IPageStore getStore()
public IPageVersionManager newVersionManager(Page page)
newVersionManager
in interface ISessionStore
newVersionManager
in class AbstractHttpSessionStore
page
- 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 ISessionStore
setAttribute
in class HttpSessionStore
request
- 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 AbstractHttpSessionStore
sessionId
- 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 |