Hi All!
When writing a Spring context, are cyclic references handled?
For example,
Java:
A a;
B b;
a.b = b;
b.a = a;
Spring context:
<bean id="a">
<property name="b"><ref local="b"/></property>
</bean>
<bean id="b">
<property name="a"><ref local="a"/></property>
</bean>
If they are not handled, is there a workaround to allow this setup?
Thanks for any advice!
Rob
![]()


Reply With Quote