javax.servlet
Class ServletContextEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.servlet.ServletContextEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ServletContextAttributeEvent

public class ServletContextEvent
extends java.util.EventObject

The event class for changes to the servlet context.

Since:
Servlet 2.3
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ServletContextEvent(ServletContext application)
          Creates a ServletContextEvent from the changed application.
 
Method Summary
 ServletContext getServletContext()
          Returns the ServletContext that changed.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServletContextEvent

public ServletContextEvent(ServletContext application)
Creates a ServletContextEvent from the changed application.

Parameters:
application - the servlet context that has changed.
Method Detail

getServletContext

public ServletContext getServletContext()
Returns the ServletContext that changed.

Returns:
the changed application