mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-05-04 05:17:15 +01:00
@SessionAttributes works when used on an annotated controller interface with AOP proxying (SPR-6797)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2922 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ public class HandlerMethodResolver {
|
||||
}, ReflectionUtils.NON_BRIDGED_METHODS);
|
||||
}
|
||||
this.typeLevelMapping = AnnotationUtils.findAnnotation(handlerType, RequestMapping.class);
|
||||
SessionAttributes sessionAttributes = handlerType.getAnnotation(SessionAttributes.class);
|
||||
SessionAttributes sessionAttributes = AnnotationUtils.findAnnotation(handlerType, SessionAttributes.class);
|
||||
this.sessionAttributesFound = (sessionAttributes != null);
|
||||
if (this.sessionAttributesFound) {
|
||||
this.sessionAttributeNames.addAll(Arrays.asList(sessionAttributes.value()));
|
||||
|
||||
Reference in New Issue
Block a user