01: /**
02: *
03: */package clime.messadmin.providers.spi;
04:
05: import javax.servlet.ServletContext;
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 ApplicationLifeCycleProvider extends BaseProvider {
12: /**
13: * Notification that the web application initialization
14: * process is starting.
15: * All ServletContextListeners are notified of context
16: * initialization before any filter or servlet in the web
17: * application is initialized.
18: */
19: public void contextInitialized(ServletContext servletContext);
20:
21: /**
22: * Notification that the servlet context is about to be shut down.
23: * All servlets and filters have been destroy()ed before any
24: * ServletContextListeners are notified of context
25: * destruction.
26: */
27: public void contextDestroyed(ServletContext servletContext);
28: }
|