Allow setting custom ClassPathBeanDefinitionScanner on AnnotationConfigWebApplicationContext [SPR-9324] #13962
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Richard L. Allen opened SPR-9324 and commented
We use a custom
ClassPathBeanDefinitionScanner
along withAnnotationConfigWebApplicationContext
. To achieve this, we have to extendAnnotationConfigWebApplicationContext
and override theloadBeanDefinitions
method to substitute our custom scanner. Would be nice ifAnnotationConfigWebApplicationContext
simply had a set method for the scanner the same as the set methods for theBeanNameGenerator
andScopeMetadataResolver
.Affects: 3.1.1
Referenced from: commits 0230c49, 20beace
Backported to: 4.1.9
1 votes, 1 watchers
The text was updated successfully, but these errors were encountered: