<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'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, "fluids liu" <<a href="mailto:flowas@gmail.com">flowas@gmail.com</a>> wrote:<br type="attribution">> For example,change<br>> <br>> @Alias("gen")<br>
> @Singleton<br>> public class GenPlugin implements Plugin<br>> <br>> to<br>> <br>> @Plugin("gen")<br>> @Singleton<br>> public class GenPlugin<br></div>