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
See Also
ServletContextListener

Field Summary

Modifier and TypeField and Description
private static final long
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

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.EventObject.serialVersionUID.

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.