On a similar note:
How might Java based configuration (@Configuration) deal with such a thing? Since java configuration pushes the construction of the bean AND the property wiring into the same java method, it seems impossible.Code:<bean id="a" class="TypeA">
<property name="b" ref="b"/>
</bean>
<bean id="b" class="TypeB">
<property name="a" ref="a"/>
</bean>
