I often give this solution to people having issue with unsatisfied injection point issue.
Of course I could also tell them to check every bean and see if there is a bean defining
annotation on all of them but it could be far more fastidious.
Perhaps the solution could be to add a neutral annotation (empty stereotypes) that
explicitly declares a bean. The oxymora with “annotated" discovery mode is that it
was designed to ease life of user (and beginners) but that it requires to understand what
is a bean defining annotation and put one on the bean...
Le 6 mars 2015 à 08:00, Jozef Hartinger <jharting(a)redhat.com> a
écrit :
Are you really telling people to use beans.xml with bdm="all" again? Is that
based on this particular issue or did you reach the conclusion before based on some other
issues?
On 03/05/2015 02:14 PM, Antoine Sabot-Durand wrote:
> Yes, that’s why you shouldn’t use annotated discovery mode if you want to do serious
stuff in CDI.