<p>Sorry, this is a technical requirement of using CDI to provide plugins with injection, and it also prevents a whole lot of redundant class scanning that would really be a performance problem, but we did consider this approach initially.</p>

<p>Lincoln Baxter&#39;s Droid<br>
<a href="http://ocpsoft.com">http://ocpsoft.com</a><br>
<a href="http://scrumshark.com">http://scrumshark.com</a><br>
Keep it simple.</p>
<div class="gmail_quote">On May 9, 2011 6:45 PM, &quot;fluids liu&quot; &lt;<a href="mailto:flowas@gmail.com">flowas@gmail.com</a>&gt; wrote:<br type="attribution">&gt; For example,change<br>&gt; <br>&gt; @Alias(&quot;gen&quot;)<br>
&gt; @Singleton<br>&gt; public class GenPlugin implements Plugin<br>&gt; <br>&gt; to<br>&gt; <br>&gt; @Plugin(&quot;gen&quot;)<br>&gt; @Singleton<br>&gt; public class GenPlugin<br></div>