Servlet::ServletContextListener - context listener interface
$listener->contextInitialized($event)
$listener->contextDestroyed($event);
Implementations of this interface receive notifications about changes to the
servlet context of the web application they are a part of. To receive
notification events, the implementation class must be configured in the
deployment descriptor for the web application.
For each of the following methods, the event passed to the method is of type
Servlet::ServletContextEvent.
- contextDestroyed($event)
- Notification that the servlet context is about to be shut down.
Parameters:
- $event
- an instance of Servlet::ContextEvent
- contextInitialized($event)
- Notification that the web application is ready to process requests.
Parameters:
- $event
- an instance of Servlet::ContextEvent
Servlet::ServletContext, Servlet::ContextEvent
Brian Moseley, bcm@maz.org