Top Description Fields Constructors Methods
javax.servlet

public Class ServletContextEvent

extends EventObject
Class Inheritance
Known Direct Subclasses
javax.servlet.ServletContextAttributeEvent

This is the event class for notifications about changes to the servlet context of a web application.
Since
Servlet 2.3
Version
$Rev: 46019 $ $Date: 2004-09-14 04:56:06 -0500 (Tue, 14 Sep 2004) $
See Also
ServletContextListener

Field Summary

Inherited from java.util.EventObject:
source

Constructor Summary

AccessConstructor and Description
public
ServletContextEvent(ServletContext
the ServletContext that is sending the event
source
)

Construct a ServletContextEvent from the given context.

Method Summary

Modifier and TypeMethod and Description
public ServletContext

Returns:

the ServletContext that sent the event
getServletContext
()

Return the ServletContext that changed.

Inherited from java.util.EventObject:
getSourcetoString

Constructor Detail

ServletContextEventback to summary
public ServletContextEvent(ServletContext source)

Construct a ServletContextEvent from the given context.

Parameters
source:ServletContext

the ServletContext that is sending the event

Method Detail

getServletContextback to summary
public ServletContext getServletContext()

Return the ServletContext that changed.

Returns:ServletContext

the ServletContext that sent the event