<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Sun, Mar 19, 2017 at 1:59 PM Laird Nelson &lt;<a href="mailto:ljnelson@gmail.com">ljnelson@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">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 &quot;annotated&quot; is in effect.  Is this correct?</div></blockquote><div><br></div><div>(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.)</div><div><br></div><div>Best,</div><div>Laird</div></div></div>