Find all @ComponentScan and @PropertySource annotations
Prior to this commit, Spring failed to find multiple composed @ComponentScan and @PropertySource annotations or multiple @ComponentScans and @PropertySources container annotations. The reason was due to lacking support in the AnnotatedTypeMetadata API. This commit introduces support for finding all @ComponentScan and @PropertySource annotations by making use of the new getMergedRepeatableAnnotationAttributes() method in AnnotatedTypeMetadata. Closes gh-30941 See gh-31041
This commit is contained in:
@@ -1 +1,2 @@
|
||||
testbean.name=p4TestBean
|
||||
from.p4=p4Value
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
testbean.name=p5TestBean
|
||||
from.p5=p5Value
|
||||
Reference in New Issue
Block a user