首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件开发 >

spring自动满载

2012-07-03 
spring自动重载1.运行类public String reload() {WebApplicationContext context WebApplicationContext

spring自动重载
1.运行类

  public String reload() {        WebApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(request.getSession()                .getServletContext());        if (context.getParent() != null) {            ((AbstractRefreshableApplicationContext) context.getParent()).refresh();        }        ((AbstractRefreshableApplicationContext) context).refresh();        System.out.println("--------Spring Context Reload----------------");        return null;    }

热点排行