摘要:
不通过注解或者是配置文件怎么获取spring中定义的bean呢?有几个方法: 1、实现ApplicationContextAware <bean class="com.xxx.SpringUtil"/> SpringUtil内容如下: public class SpringUtil implemen 阅读全文
posted @ 2016-05-16 21:34
yin.kh
阅读(188)
评论(0)
推荐(0)
|
摘要:
不通过注解或者是配置文件怎么获取spring中定义的bean呢?有几个方法: 1、实现ApplicationContextAware <bean class="com.xxx.SpringUtil"/> SpringUtil内容如下: public class SpringUtil implemen 阅读全文
posted @ 2016-05-16 21:34
yin.kh
阅读(188)
评论(0)
推荐(0)
|