Overview Package Class Use Tree Deprecated Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
javax.servlet
Interface ServletContextListener
- All Superinterfaces:
- java.util.EventListener
- public interface ServletContextListener
- extends java.util.EventListener
Implementations of this interface receive notifications about changes to the servlet context of the web application they are part of. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application.
- Since:
- v 2.3
- See Also:
- ServletContextEvent
Method Summary void javax.servlet.ServletContextEvent)">contextDestroyed(ServletContextEvent sce)
Notification that the servlet context is about to be shut down.void javax.servlet.ServletContextEvent)">contextInitialized(ServletContextEvent sce)
Notification that the web application initialization process is starting.javax.servlet.ServletContextEvent)">
Method Detail contextInitialized
public void contextInitialized(ServletContextEvent sce)
- Notification that the web application initialization process is starting. All ServletContextListeners are notified of context initialization before any filter or servlet in the web application is initialized.
javax.servlet.ServletContextEvent)">contextDestroyed
public void contextDestroyed(ServletContextEvent sce)
- Notification that the servlet context is about to be shut down. All servlets and filters have been destroy()ed before any ServletContextListeners are notified of context destruction.
Overview Package Class Use Tree Deprecated Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.