1 Reply Latest reply on Feb 13, 2012 8:17 AM by jharting

    Alternative @Qualified @Produces method, how?

    ahhughes

      Howdy,


      I'm stuck on this...


      @Inject
      @CurrentUser
      String userId;
      



      class ProductionFactory {
      
          @Produces
          @CurrentUser
          String getCurrentUserId(){....}
      
      }
      



      Can someone explain to me how to provide an alternative to a qualified producer. I can only find Class and Class+Stereotype examples that don't have qualifiers (like @CurrentUser above).


      CHEERS :)