Package org.apache.wicket.session
Class HttpSessionStore.SessionBindingListener
- java.lang.Object
-
- org.apache.wicket.session.HttpSessionStore.SessionBindingListener
-
- All Implemented Interfaces:
Serializable
,EventListener
,javax.servlet.http.HttpSessionBindingListener
- Enclosing class:
- HttpSessionStore
protected static final class HttpSessionStore.SessionBindingListener extends Object implements javax.servlet.http.HttpSessionBindingListener, Serializable
Reacts on unbinding from the session by cleaning up the session related data.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionBindingListener(String applicationKey, Session wicketSession)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
valueBound(javax.servlet.http.HttpSessionBindingEvent evg)
void
valueUnbound(javax.servlet.http.HttpSessionBindingEvent evt)
-
-
-
Constructor Detail
-
SessionBindingListener
public SessionBindingListener(String applicationKey, Session wicketSession)
Construct.- Parameters:
applicationKey
- The unique key of the application within this web applicationwicketSession
- The Wicket Session associated with the expiring http session
-
-
Method Detail
-
valueBound
public void valueBound(javax.servlet.http.HttpSessionBindingEvent evg)
- Specified by:
valueBound
in interfacejavax.servlet.http.HttpSessionBindingListener
-
valueUnbound
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent evt)
- Specified by:
valueUnbound
in interfacejavax.servlet.http.HttpSessionBindingListener
-
-