Hi John

just looks like your DefaultListener misses @Dependent in annotated mode to
me.


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-07-19 4:48 GMT+02:00 John D. Ament <[email protected]>:

> Hi,
>
> I have a portable extension that registers an observer method like so:
>
> public void findSpecialBeans(@Observes ProcessBean<SpecialBean>
> processBean)
>
> In Weld, this gets invoked once in my test application, only for beans of
> type SpecialBean.  In OWB 2, this is getting invoked once for that same
> bean, but then again for each additional bean registered in my
> corresponding AfterBeanDiscovery (which none of these beans match
> SpecialBean). The weird part is that I don't see this behavior in OWB 1.7,
> and I don't see it happening within other extensions (e.g. another
> ExtensionB also have AfterBeanDiscovery, those beans don't invoke this
> extension).
>
> You can see Travis complaining about this issue at
> https://travis-ci.org/hammock-project/hammock/jobs/254409046
>
> John
>

Reply via email to