Package jakarta.servlet
Class ServletContextEvent
java.lang.Object
java.util.EventObject
jakarta.servlet.ServletContextEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ServletContextAttributeEvent
This is the event class for notifications about changes to the servlet context of a web application.
- Since:
- Servlet 2.3
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionServletContextEvent(ServletContext source) Construct a ServletContextEvent from the given context.
- 
Method SummaryModifier and TypeMethodDescriptionReturn the ServletContext that changed.Methods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
ServletContextEventConstruct a ServletContextEvent from the given context.- Parameters:
- source- - the ServletContext that is sending the event.
 
 
- 
- 
Method Details- 
getServletContextReturn the ServletContext that changed.- Returns:
- the ServletContext that sent the event.
 
 
-