Detect controller methods via InitializingBean hook
Previously RequestMappingHandlerMapping detected @RequestMapping methods through an initApplicationContext() hook. However, the HandlerMapping may not have been fully set up with all its dependencies at that point including settings like useSuffixPattern and others. This change moves the detection @RequestMapping methods to an InitializingBean.afterPropertiesSet() hook. Issue: SPR-9371
This commit is contained in:
1
src/dist/changelog.txt
vendored
1
src/dist/changelog.txt
vendored
@@ -16,6 +16,7 @@ Changes in version 3.2 M1
|
||||
* add Jackson 2 HttpMessageConverter and View types
|
||||
* add pretty print option to Jackson HttpMessageConverter and View types
|
||||
* fix issue with resolving Errors controller method argument
|
||||
* detect controller methods via InitializingBean in RequestMappingHandlerMapping
|
||||
|
||||
Changes in version 3.1.1 (2012-02-16)
|
||||
-------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user