[cdi-dev] Bean discovery question
Laird Nelson
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.)
Best,
Laird
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20170319/ffa2becc/attachment-0001.html
More information about the cdi-dev
mailing list