On Wed, Mar 9, 2011 at 15:59, aalmiray <aalmiray@yahoo.com> wrote:

mojavelinux wrote:
> Another approach is to use Weld's scanning configuration. That is a
> non-portable solution, though, so you'd have weigh that. If I'm not
> mistaken, that feature is being discussed for CDI 1.1.
> http://docs.jboss.org/weld/reference/1.1.0.Final/en-US/html/configure.html#d0e5767

Indeed. Those scan/exclusion features will come in handy. Hope they make it
to CDI 1.1; in the meantime I'll resort to a custom Extension as a I need to
filter out some beans by type too.

Here's the issue report for that proposal: https://issues.jboss.org/browse/CDI-87

If you come across some feature/extension point that you think would help improve CDI, please feel empowered to propose a change/addition to CDI. You're experience using CDI in Griffon will give you a unique perspective.

Thanks again for the quick response

You bet.


Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597