this.config = filterConfig;
ServletContext sc = config.getServletContext();
ac = WebApplicationContextUtils.getWebApplicationContext(sc);
commonCacheService = ac.getBean(CommonCacheService.class);
this.config = filterConfig;
ServletContext sc = config.getServletContext();
ac = WebApplicationContextUtils.getWebApplicationContext(sc);
commonCacheService = ac.getBean(CommonCacheService.class);
转载于:https://my.oschina.net/u/1458291/blog/203532