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.

Lincoln Baxter's Droid
http://ocpsoft.com
http://scrumshark.com
Keep it simple.

On May 9, 2011 6:45 PM, "fluids liu" <flowas@gmail.com> wrote:
> For example,change
>
> @Alias("gen")
> @Singleton
> public class GenPlugin implements Plugin
>
> to
>
> @Plugin("gen")
> @Singleton
> public class GenPlugin