Modifying methodHasAnnotations to this solves the problem.
| private boolean methodHasAnnotations(MetaData metaData, MethodInfo mi)
| {
| MethodSignature sig = new MethodSignature(mi);
| MetaData methodMD = metaData.getComponentMetaData(sig);
|
| if (hasMetaDataAtInstanceLevel(methodMD))
| {
| return true;
| }
| return false;
| }
|
| private boolean hasMetaDataAtInstanceLevel(MetaData metaData)
| {
| if (metaData != null)
| {
| MetaData instanceMetaData =
metaData.getScopeMetaData(CommonLevels.INSTANCE);
| if (instanceMetaData != null && instanceMetaData.isEmpty() == false)
| {
| return true;
| }
| }
| return false;
| }
|
I will run the aop-mc-int tests before commiting
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134392#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...