[cdi-dev] Bean discovery question
ljnelson at gmail.com
Sun Mar 19 17:18:59 EDT 2017
On Sun, Mar 19, 2017 at 1:59 PM Laird Nelson <ljnelson at gmail.com> wrote:
> I have a portable extension not annotated in any way. It has a nested
> class inside it named Producers. That class is annotated with @Singleton
> (and nothing else). It has producer methods in it. They are being
> discovered while a bean discovery mode of "annotated" is in effect. Is
> this correct?
(This also happens if I remove the @Singleton annotation. That is, if I
just have a private static (nested) class named Producers defining
@Produces-annotated methods in my portable extension class.)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cdi-dev