"kabir.khan(a)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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...