[jboss-user] [Microcontainer] - Annotations scanning nightmare
do-not-reply at jboss.com
Mon Jan 26 11:40:23 EST 2009
having currently some performance problems in development environment due to the annotation scanning (multiple different frameworks, components, etc.) I'm wondering if there is any idea (or better ongoing work) how to facilitate handling existing of annotations only once?
I've been wondering how complicated it would be to integrate it into Microcontainer. Given fact VFS is handling all deployments, it should be difficult to create class visitor to collect matrix about available classes and included annotations. This information (as some kind of repository - attached to classloading domain) would then be available through MC extension of some sort.
Obviously on the client side there would be a requirement to have some kind of stub, to be able to switch from this implementation between MC powered version and good-old find all URLs and scan them.
This would also allow to come-up with some universal XML (or other format) override of annotations.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204763#4204763
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204763
More information about the jboss-user