javax.servlet

Class ServletContextEvent

public class ServletContextEvent extends EventObject

This is the event class for notifications about changes to the servlet context of a web application.

Since: v 2.3

See Also: ServletContextListener

Constructor Summary
ServletContextEvent(ServletContext source)
Construct a ServletContextEvent from the given context.
Method Summary
ServletContextgetServletContext()
Return the ServletContext that changed.

Constructor Detail

ServletContextEvent

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

Parameters: source - the ServletContext that is sending the event.

Method Detail

getServletContext

public ServletContext getServletContext()
Return the ServletContext that changed.

Returns: the ServletContext that sent the event.

Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.