This content has been marked as final.
Show 1 reply
-
1. Re: Shouldn't BeforeBeanDiscovery#addStereotype() create custom bean defining annotations?
mkouba Jan 4, 2016 6:50 AM (in response to fabio.simeoni)I think it probably should but it does not work at the moment. There is a tracking issue for similar problem with scopes - WELD-1624. AFAIK there are some implementation problems, in particular the BBD event would have to be delivered before the bean archive graph is built and this would prevent from using a bytecode scanning facility to optimize the bootstrap. Moreover, the BeanManager bean would not be available for injection in the BBD observer method.