This content has been marked as final.
Show 3 replies
-
1. Re: Override an ambiguous producer
jharting Oct 24, 2013 2:07 AM (in response to dudehook)Did you consider making your producer an @Alternative?
-
2. Re: Override an ambiguous producer
mkouba Oct 24, 2013 6:54 AM (in response to jharting)Jozef is right, @Alternative should work. You could also force the container to ignore ParametersFactory type by means of javax.enterprise.inject.spi.ProcessAnnotatedType.veto() or use your own version of @Parameters qualifier (new type).
-
3. Re: Override an ambiguous producer
shay_matasaro Oct 24, 2013 9:02 AM (in response to dudehook)or add a qualifier to the producer and injection point