SPR-6502 - Broken @RequestMapping inheritance

This commit is contained in:
Arjen Poutsma
2009-12-07 16:44:51 +00:00
parent 09a55c8ede
commit 27e0642543
3 changed files with 67 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ public class HandlerMethodResolver {
modelAttributeMethods.add(specificMethod);
}
}
});
}, ReflectionUtils.NON_BRIDGED_METHODS);
}
this.typeLevelMapping = AnnotationUtils.findAnnotation(handlerType, RequestMapping.class);
SessionAttributes sessionAttributes = handlerType.getAnnotation(SessionAttributes.class);
@@ -99,7 +99,7 @@ public class HandlerMethodResolver {
}
protected boolean isHandlerMethod(Method method) {
return method.isAnnotationPresent(RequestMapping.class);
return AnnotationUtils.findAnnotation(method, RequestMapping.class) != null;
}