org.apache.wicket.session
Class HttpSessionStore.SessionBindingListener

java.lang.Object
  extended by 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
HttpSessionStore.SessionBindingListener(String applicationKey)
          Deprecated. Use #SessionBindingListener(String, Session) instead
HttpSessionStore.SessionBindingListener(String applicationKey, Session wicketSession)
          Construct.
 
Method Summary
 void valueBound(javax.servlet.http.HttpSessionBindingEvent evg)
           
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSessionStore.SessionBindingListener

@Deprecated
public HttpSessionStore.SessionBindingListener(String applicationKey)
Deprecated. Use #SessionBindingListener(String, Session) instead

Constructor.

Parameters:
applicationKey - The unique key of the application within this web application

HttpSessionStore.SessionBindingListener

public HttpSessionStore.SessionBindingListener(String applicationKey,
                                               Session wicketSession)
Construct.

Parameters:
applicationKey - The unique key of the application within this web application
wicketSession - The Wicket Session associated with the expiring http session
Method Detail

valueBound

public void valueBound(javax.servlet.http.HttpSessionBindingEvent evg)
Specified by:
valueBound in interface javax.servlet.http.HttpSessionBindingListener
See Also:
HttpSessionBindingListener.valueBound(javax.servlet.http.HttpSessionBindingEvent)

valueUnbound

public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent evt)
Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener
See Also:
HttpSessionBindingListener.valueUnbound(javax.servlet.http.HttpSessionBindingEvent)


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.