Package javax.servlet
Class ServletContextEvent
- java.lang.Object
- 
- java.util.EventObject
- 
- javax.servlet.ServletContextEvent
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 - Direct Known Subclasses:
- ServletContextAttributeEvent
 
 public class ServletContextEvent extends java.util.EventObjectThis is the event class for notifications about changes to the servlet context of a web application.- Since:
- Servlet 2.3
- See Also:
- ServletContextListener, Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ServletContextEvent(ServletContext source)Construct a ServletContextEvent from the given context.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ServletContextgetServletContext()Return the ServletContext that changed.
 
- 
- 
- 
Constructor Detail- 
ServletContextEventpublic ServletContextEvent(ServletContext source) Construct a ServletContextEvent from the given context.- Parameters:
- source- - the ServletContext that is sending the event.
 
 
- 
 - 
Method Detail- 
getServletContextpublic ServletContext getServletContext() Return the ServletContext that changed.- Returns:
- the ServletContext that sent the event.
 
 
- 
 
-