Jun 15th, 2006, 07:08 AM
The Spring IDE generated Graph
I have been using Spring IDE 1.3 for some time now.
Its really :cool and helps me navigate (or rather breeze) through multitude of bean context files of my application easily.
A nice to have feature, I would like to propose;
The Graph generated and shown shows the inter-connection between my beans;
If I have a beanA with a property referring to beanB the arrow pointing from beanA to beanB, but that took me some time to decipher.
If instead there could be an arrow from beanB pointing into beanA, it will give the idea; beanB is INJECTED into beanA, which is what is being achieved.
PS: my bean context defination for the above example is:
<bean id="beanA" class="mypack.ClassA">
<bean id="beanB" class="mypack.ClassB">
<property name="clazzA" ref="beanA"/>
Jun 15th, 2006, 07:10 AM
I feel such a graph would show any circular dependancy, which currently the Spring-IDE 1.3 does not detect.
It comes to light only when a BeanInstantionException is thrown @ run time.
Jun 20th, 2006, 03:34 AM