Spring 使用
时间:2014-06-18 10:13:46
收藏:0
阅读:216
一、工具类中使用bean

IService service = (IService)ContextLoader.getCurrentWebApplicationContext().getBean(serviceBeanName);
评论(0)