IN PROGRESS - issue SPR-6779: imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements
All tests in ImportedConfigurationClassEnhancementTests now pass. The fix was simple - imported @Configuration class bean definitions were not getting marked with the attribute that indicates that they are indeed @Configuration class bean definitions. To make this happen, ConfigurationClassPostProcessor's protected checkConfigurationClassCandidate(beanDef) method is being called from within ConfigurationClassBeanDefinitionReader when imported @Configuration classes are being processed. This is quick and dirty, and the subsequent check-in will refactor the solution appropriately.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<logger name="org.springframework.mapping">
|
||||
<logger name="org.springframework.context">
|
||||
<level value="debug" />
|
||||
</logger>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user