Results 1 to 3 of 3

Thread: The Spring IDE generated Graph

  1. #1
    Join Date
    Sep 2005
    Posts
    16

    Thumbs up 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. #2
    Join Date
    Sep 2005
    Posts
    16

    Default

    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

  3. #3

    Default dealt with

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •