啓動服務器時加載spring中的service,dao

this.config = filterConfig;this

ServletContext sc = config.getServletContext();spa

ac = WebApplicationContextUtils.getWebApplicationContext(sc);get

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

相關文章
相關標籤/搜索