//application域被初始化
public void contextInitialized(ServletContextEvent servletContextEvent){}
//application被销毁
public void contextDestroyed(ServletContextEvent servletContextEvent){}
//application中添加数据
public void attributeAdded(ServletContextAttributeEvent servletContextAttributeEvent){}
//application中移除数据
public void attributeRemoved(ServletContextAttributeEvent servletContextAttributeEvent){}
//application修改数据了
public void attributeReplaced(ServletContextAttributeEvent servletContextAttributeEvent){}
Application域监听器
最新推荐文章于 2020-12-09 10:16:50 发布