ServletContextEvent
| Modifier and Type | Method and Description |
|---|---|
| public default void | contextDestroyed(ServletContextEvent
Information about the ServletContext that was destroyed sce)Notification that the servlet context is about to be shut down. |
| public default void | contextInitialized(ServletContextEvent
Information about the ServletContext that was initialized sce)Notification that the web application initialization process is starting. |
| contextDestroyed | back to summary |
|---|---|
| public default void contextDestroyed(ServletContextEvent sce) Notification that the servlet context is about to be shut down. All servlets and filters have been destroyed before any ServletContextListeners are notified of context destruction. The default implementation is a NO-OP.
| |
| contextInitialized | back to summary |
|---|---|
| public default 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. The default implementation is a NO-OP.
| |