javax.servlet
类 ServletContextEvent
java.lang.Object
java.util.EventObject
javax.servlet.ServletContextEvent
- 所有已实现的接口:
- Serializable
- 直接已知子类:
- ServletContextAttributeEvent
public class ServletContextEvent
- extends EventObject
This is the event class for notifications about changes to
the servlet context of a web application.
- 从以下版本开始:
- Servlet 2.3
- 另请参见:
ServletContextListener,
序列化表格
ServletContextEvent
public ServletContextEvent(ServletContext source)
- Construct a ServletContextEvent from the given context.
- 参数:
source - - the ServletContext that is sending the event.
getServletContext
public ServletContext getServletContext()
- Return the ServletContext that changed.
- 返回:
- the ServletContext that sent the event.
Copyright © 2013. All Rights Reserved.