javax.servlet
Class ServletContextEvent
java.lang.Object
java.util.EventObject
javax.servlet.ServletContextEvent
public class ServletContextEvent
extends java.util.EventObject
This is the event class for notifications about changes to the servlet context of a web application.
- v 2.3
ServletContextListener
ServletContextEvent
public ServletContextEvent(ServletContext source)
Construct a ServletContextEvent from the given context.
source
- - the ServletContext that is sending the event.
getServletContext
public ServletContext getServletContext()
Return the ServletContext that changed.
- the ServletContext that sent the event.