Module type JavaServlet.ServletContextListener

module type ServletContextListener = sig .. end
The module type for listeners compiled with -servlet context-listener.

val context_initialized : javax'servlet'ServletContextEvent java_instance -> unit
Called to notify that the application initialization is starting.
 
val context_destroyed : javax'servlet'ServletContextEvent java_instance -> unit
Called to notify that the servlet context will shutdown.