NAME

Servlet::ServletContextListener - context listener interface


SYNOPSIS

  $listener->contextInitialized($event)
  $listener->contextDestroyed($event);


DESCRIPTION

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.


METHODS

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


SEE ALSO

the Servlet::ServletContext manpage, the Servlet::ContextEvent manpage


AUTHOR

Brian Moseley, bcm@maz.org