01: /**
02: *
03: */package clime.messadmin.providers.spi;
04:
05: import javax.servlet.http.HttpSession;
06:
07: /**
08: * Note: the invocation order of Providers is reversed in case of session/application destruction.
09: * @author Cédrik LIME
10: */
11: public interface SessionLifeCycleProvider extends BaseProvider {
12: /**
13: * Notification that a session was created.
14: * @param httpSession
15: */
16: public void sessionCreated(HttpSession httpSession);
17:
18: /**
19: * Notification that a session is about to be invalidated.
20: * @param httpSession
21: */
22: public void sessionDestroyed(HttpSession httpSession);
23:
24: /** Notification that the session is about to be passivated.*/
25: public void sessionWillPassivate(HttpSession httpSession);
26:
27: /** Notification that the session has just been activated.*/
28: public void sessionDidActivate(HttpSession httpSession);
29: }
|