spring property标签中的 ref属性和ref 标签有什么不同?

<property name="a" ref="b" />:找到当前配置文件中的bean。
<ref bean ="b"/>:找到全局中的bean。