我如何实现这一目标(在 XML 中,而不是在Java @configuration中)?
<bean id="firstBean" p:someProp="some prop value"/>
<bean id="anotherBeanThatUsesFirstBean">
<property="firstBeanRef">
<ref="firstBean" p:someProp="a new Prop value"/>
</property>
</bean>