CDI (JSR-299) Run with me…

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.
Comments below can no longer be edited.

3 Responses to CDI (JSR-299) Run with me…

  1. Avatar

    Gavin King says:

    November 19, 2009

    Looks fantastic!

    I notice one thing that’s a little wrong. The note about the unproxyable type should go on the injection point that resolves to the bean, not the bean itself. It’s totally legitimate to declare a normal scoped bean with an unproxyable type. You might only be using it from EL, for example. The error is trying to inject it into something, using the unproxyable type as the type of the injection point. The spec is very careful to define it that way, but I realize that the distinction is subtle. Does that make sense?

  2. Avatar

    serega.vasiliev says:

    November 20, 2009

    Gavin, I’ve updated screenshot for “unproxyable” error.

  3. Avatar

    Gavin King says:

    November 21, 2009

    Awesome, perfect 🙂

    Great work!

Discover more