WebApplicationContext web = WebApplicationContextUtils.getWebApplicationContext(sc);
BlockingQueue<LogMessageVO> msgQueue = (BlockingQueue<LogMessageVO>) web.getBean("msgQueue");
spring 获取 WebApplicationContext
猜你喜欢
转载自wangqiaowqo.iteye.com/blog/1978315
今日推荐
周排行