当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v5.0 API Specifications
ServletContextEvent (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications
javax.servlet
Class ServletContextEvent
java.lang.Object
java.util.EventObject
javax.servlet.ServletContextEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ServletContextAttributeEvent
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
,
Serialized Form
ServletContextEvent
public ServletContextEvent(ServletContext source)
- Construct a ServletContextEvent from the given context.
- Parameters:
source
- - the ServletContext that is sending the event.
getServletContext
public ServletContext getServletContext()
- Return the ServletContext that changed.
- Returns:
- the ServletContext that sent the event.
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.