Package org.eclnt.jsfserver.polling
Class LongPollingMgr.MyHttpSessionClosedReactor
java.lang.Object
org.eclnt.jsfserver.polling.LongPollingMgr.MyHttpSessionClosedReactor
- All Implemented Interfaces:
IHttpSessionClosedReactor
- Enclosing class:
- LongPollingMgr
public static class LongPollingMgr.MyHttpSessionClosedReactor
extends Object
implements IHttpSessionClosedReactor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notification about a session being destroyed (e.g. by time out management of servlet container, or by administrator).
-
Constructor Details
-
MyHttpSessionClosedReactor
public MyHttpSessionClosedReactor()
-
-
Method Details
-
reactOnClosed
public void reactOnClosed()Description copied from interface:IHttpSessionClosedReactor
Notification about a session being destroyed (e.g. by time out management of servlet container, or by administrator). You may add your code to tidy up resourced that you bound within an http session.
An instance of this interface is added to the objectHttpSessionListenerDelegator
, using the methodHttpSessionAccess.getCurrentHttpSessionListenerDelegator()
. This needs to be done per session.- Specified by:
reactOnClosed
in interfaceIHttpSessionClosedReactor
-