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