Interface IHttpSessionListener2

All Superinterfaces:
IHttpSessionListener

public interface IHttpSessionListener2 extends IHttpSessionListener
Extended version of IHttpSessionListener.

The processing during the closing of the session is now separated in two methods, which both are called: IHttpSessionListener.reactOnSessionClosed(HttpSessionEvent) is called first, then the CaptainCasa clean up is executed (detroy to Disptacher and registered page beans), then at the end of processing reactOnSessionClosedInEndPhaseOfClosing(HttpSessionEvent) is called.
  • Method Details

    • reactOnSessionClosedInEndPhaseOfClosing

      void reactOnSessionClosedInEndPhaseOfClosing(javax.servlet.http.HttpSessionEvent event)
      Called at the end of the close processing of an http session. Please pay attention: other close functions (e.g. destroying of Dispatcher and PageBeans instances) already have taken place already - so you must access functions of these objects within your implementation.