javax.servlet
Class ServletContextEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.servlet.ServletContextEvent
All Implemented Interfaces:
java.io.Serializable

public class ServletContextEvent
extends java.util.EventObject

The event class for changes to the servlet context.

Since:
Servlet 2.3
See Also:
Serialized Form

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