1 Reply Latest reply on Aug 28, 2013 1:57 PM by Jonathan Fuerth

    CDI qualifier for interface implementation

    Anton Hughes Master



      In our errai app, we have a some widgets that share a common interface, but different implementation.


      I tried using CDI qualifiers, and while the app compiled fine, when running I got an error.


      The basic concept (I do not have the code handy) was the following:

      @Inject @Foo InterfaceForWidget foo;
      @Inject @Bar InterfaceForWidget bar;
      myDiv.add(foo); // error


      Is such a thing supported in Errai?