spring autoWire注解

1.autowire注解,可以用来获得applicationContext,ResourceLoader,BeanFactory的注入

autoWire会获得相应资源

2.autoWire注解还可以用来数组/set/list的注入,以提供所有该类型的bean

posted @ 2016-10-20 16:19  跨境电商杂货铺  阅读(357)  评论(0编辑  收藏  举报