javax.servlet

Class ServletContextEvent

Known Direct Subclasses:
ServletContextAttributeEvent

public class ServletContextEvent
extends java.util.EventObject

This is the event class for notifications about changes to the servlet context of a web application.
Version:
$Rev: 46019 $ $Date: 2005/03/15 10:03:20 $
Since:
Servlet 2.3
See Also:
ServletContextListener

Constructor Summary

ServletContextEvent(ServletContext source)
Construct a ServletContextEvent from the given context.

Method Summary

ServletContext
getServletContext()
Return the ServletContext that changed.

Constructor Details

ServletContextEvent

public ServletContextEvent(ServletContext source)
Construct a ServletContextEvent from the given context.
Parameters:
source - the ServletContext that is sending the event

Method Details

getServletContext

public ServletContext getServletContext()
Return the ServletContext that changed.
Returns:
the ServletContext that sent the event

Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.