调用Spring的bean
时间:2014-03-26 09:32:34
收藏:0
阅读:454
|
1
2 |
ApplicationContext context = new
ClassPathXmlApplicationContext("applicationContext.xml");ArticleService service = (ArticleServicel) context.getBean("articleService"); |
原文:http://www.cnblogs.com/fengyu9/p/3622622.html
评论(0)