ServletContextListener (Java Card API, Connected Edition)
Date: 2009-12-11

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.servlet
Interface ServletContextListener

All Superinterfaces:
  EventListener

    @TransactionType(value=NOT_SUPPORTED)
    public interface ServletContextListener

extends 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:
  Servlet 2.3, Java Card 3.0
See Also:
  `ServletContextEvent`

Method Summary
`void` | `contextDestroyed(ServletContextEvent sce)` Notification that the servlet context is about to be shut down.
`void` | `contextInitialized(ServletContextEvent sce)` Notification that the web application initialization process is starting.

Method Detail

### contextInitialized

    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.

### contextDestroyed

    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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.