Web Beans (JSR-299): Dependency Injection Diagram

Posted on by serega.vasiliev

Maia gives you an easy way of analyzing Web Bean class dependencies — just invoke a pop-up menu on any class in your editor.

The quick pop-up view displays injection points:

As well as produces dependencies of the selected class:

Node and edge tooltips show detailed information about injected elements:

If a Bean has unresolved injection, a corresponding edge is drawn with red color:

Also, you can easily navigate to Bean definitions or injection points by double-clicking diagram elements.

Comments below can no longer be edited.

4 Responses to Web Beans (JSR-299): Dependency Injection Diagram

  1. orinius says:

    November 13, 2009

    Ultrasweet! Very usable feature (if graph performance is also greatly improved from 8.x…).

  2. Stephan Anft says:

    November 13, 2009

    Very nice! Would it be possible to provide a similar diagram for Seam components?

  3. serega.vasiliev says:

    November 13, 2009

    Stephan,
    you can find “Generate seam components diagram” popup in “JavaEE Structure/Seam Facets/My Module Name” for Idea 8.x.x or Seam(tool window)/”My Module Name” for 9.x.

  4. Stephan Anft says:

    November 17, 2009

    Serega,

    yes, I know. But it would be nice to have a component-specific dependency diagram in the same “popup” manner.

    Regards,
    Stephan

Subscribe

Subscribe for updates