[jboss-dev-forums] [Design the new POJO MicroContainer] - Annotation scanning
alesj
do-not-reply at jboss.com
Mon Apr 21 06:23:25 EDT 2008
OK, this issue is quite a blocker for few other JIRAs, and probably a good API changing candidate, meaning it needs to be done before CR1. :-)
Not to mention that it spans over many areas, from AOP, EJBs, Seam, ... and even our MC will benefit from it.
So, resolving this would relieve the pita of many. ;-)
The initial discussion about starting this solution in classloading:
- http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132400
And the root JIRA issue:
- http://jira.jboss.com/jira/browse/JBCL-9
So, what would be a good entry point into this in our classloading?
Part of ClassLoadingPolicy?
And the user hooks?
We discussed it could be similar to Java6 APR:
e.g.
-
http://java.sun.com/javase/6/docs/api/javax/annotation/processing/RoundEnvironment.html
But instead on compiling, we could do this on class loading.
And we should also consider our instance annotations. Which can kick in as late as in real deployment stage.
How does this relate with the work we've done in metadata project?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145436#4145436
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145436
More information about the jboss-dev-forums
mailing list