Announcement Announcement Module
Collapse
No announcement yet.
The Spring IDE generated Graph Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • The Spring IDE generated Graph

    Hi,

    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.

    any comments

    ~g1
    PS: my bean context defination for the above example is:

    <beans>
    <bean id="beanA" class="mypack.ClassA">
    <constructor-arg ref="beanB"/>
    </bean>

    <bean id="beanB" class="mypack.ClassB">
    <property name="clazzA" ref="beanA"/>
    </bean>
    </beans>

  • #2
    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.

    ~g1

    Comment


    • #3
      dealt with

      This is now dealt with in ticket 332 : http://www.springide.org/project/ticket/332

      Comment

      Working...
      X