启动服务器时加载spring中的service,dao

this.config = filterConfig;this

ServletContext sc = config.getServletContext();spa

ac = WebApplicationContextUtils.getWebApplicationContext(sc);get

commonCacheService = ac.getBean(CommonCacheService.class);io

相关文章
相关标签/搜索