spring自动满载

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;    }