Posts Tagged ‘Dependency Injection’

CDI (JSR-299) Run with me…

Thursday, November 19th, 2009

Contexts and Dependency Injection (JSR-299) support in Maia has been significantly improved.

  • Reworked tool window:

  • New code inspections:
    • Injection points inconsistency. Detects Injection Points with ambiguous and unsatisfied dependencies
    • @Typed annotation errors.

    • Unproxyable bean types inconsistency.

    • And more:
  • Improved Rename refactoring for @Named beans
  • Better navigation to @Typed beans
  • Enhanced dependencies diagram, and more.

Web Beans (JSR-299): Dependency Injection Diagram

Thursday, November 12th, 2009

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

Making Spring Autowired Dependencies Explicit

Tuesday, March 17th, 2009

Try invoking Make autowired dependencies explicit intention actions for beans or contexts that use autowire attribute.



IntelliJ IDEA will find all beans that can be autowired with current bean and generate appropriate properties with correct reference attribute.

WebBeans (JSR-299) Binding Navigation in IntelliJ IDEA 9 (Maia)

Tuesday, March 10th, 2009

IntelliJ IDEA 9 will bring you the full support for WebBeans (JSR-299). The work is already in progress and some useful features will be available in the upcoming EAP releases.

One of them is field injection analysis with navigation to injected WebBeans. Have a look at the example to see how it works.

Here’s where we are:

Before


And this where we jump:

After