<property name="a" ref="b" />:找到当前配置文件中的bean。 <ref bean ="b"/>:找到全局中的bean。
spring property标签中的 ref属性和ref 标签有什么不同?
原创Bighead0829 博主文章分类:Java ©著作权
©著作权归作者所有:来自51CTO博客作者Bighead0829的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Spring中ref local与ref bean区别
id = property "transactionManager" bean /></ property "target" &
Spring ref 休闲 bean local