码迷,mamicode.com
首页 > 编程语言 > 详细

Spring 使用

时间:2014-06-18 10:13:46      阅读:216      评论:0      收藏:0      [点我收藏+]

标签:style   class   blog   code   http   tar   

一、工具类中使用bean

bubuko.com,布布扣
IService service = (IService)ContextLoader.getCurrentWebApplicationContext().getBean(serviceBeanName);
View Code

 

Spring 使用,布布扣,bubuko.com

Spring 使用

标签:style   class   blog   code   http   tar   

原文地址:http://www.cnblogs.com/jianxie/p/3793221.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!