Hi,
This is somethin' java should provide natively, we've tons of frameworks
that scan classpath to discover class/annotations. Why CDI can't do that to
us? like:
@Inject @LookingForThisAnnotation
private Collection<Class<?>> classesWithAnnotation;
or even:
@Inject
private Instance<AppScreen> allScreensInClassPath;
THAT should be nice, shouldn't it?
The second approach works on javaEE 6.
Thanks.
-------------------------------
Paulo Reis
On Thu, Jul 29, 2010 at 12:55 PM, <jcfolsom_at_pureperfect.com> wrote:
> Bill Burke's scannotation API