Name

ServletContextEvent

Synopsis

An event notification passed to a ServletContextListener; it provides access to the ServletContext that triggered the event.

                  
public class ServletContextEvent extends java.util.EventObject {
// Public Constructors
   public ServletContextEvent( ServletContext source);  
// Public Instance Methods
   public ServletContext getServletContext();  
}

Subclasses

ServletContextAttributeEvent

Passed To

ServletContextListener.{contextDestroyed(), contextInitialized()}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.