|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.servlet Interface ServletContextListener
- 所有父接口:
- EventListener
public interface ServletContextListener
- extends EventListener
Implementations of this interface receive notifications about changes to the servlet context of the web application they are part of. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application.
- 从以下版本开始:
- v 2.3
- 另请参见:
ServletContextEvent
方法摘要 | |
---|---|
void |
contextDestroyed(ServletContextEvent sce)
Notification that the servlet context is about to be shut down. |
void |
contextInitialized(ServletContextEvent sce)
Notification that the web application initialization process is starting. |
方法详细信息 |
---|
contextInitialized
void contextInitialized(ServletContextEvent sce)
- Notification that the web application initialization
process is starting.
All ServletContextListeners are notified of context
initialization before any filter or servlet in the web
application is initialized.
contextDestroyed
void contextDestroyed(ServletContextEvent sce)
- Notification that the servlet context is about to be shut down.
All servlets and filters have been destroy()ed before any
ServletContextListeners are notified of context
destruction.
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.