[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Annotation scanning

scott.stark@jboss.org do-not-reply at jboss.com
Tue Apr 22 13:20:41 EDT 2008


"kabir.khan at jboss.com" wrote : One point: For the purposes of AOP, the classes must NOT be loaded when scanning for annotations. If they are loaded, then we can not do loadtime weaving. The annotation scanning should use javassist instead to look for annotations. 
If that's the case then to be general the metadata project/AnnotationMetaDataDeployer need to make this change. Currently they do load classes in the context of the deployment class loader during the POST_CLASSLOADER phase. We may be providing pass through support for other layers annotations though (webservices, rest, jpa) that need a view of the annotation. Are we going to have to pass the javassist view for these?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145947#4145947

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145947



More information about the jboss-dev-forums mailing list