Not planned
Description
See spring-projects/spring-boot#45252 for background.
ConfigurationClassParser
does not consider implemented interfaces when finding @Import
(meta-)annotations. It would enable the scenario described in spring-projects/spring-boot#45252 if it did. I think it would also be more consistent with other areas of Framework where implemented interfaces are considered. The test context framework is one such area.
Activity
Support @import on interfaces
Support @import on interfaces
@Import
on interfaces #34820Support `@Import` on interfaces
sbrannen commentedon Jun 3, 2025
Superseded by
@Import
on interfaces #34820Adjust `@Import` processing to prioritize local declarations
Adjust `@Import` processing to prioritize local declarations
Add `@Import` to OverridingConfig
Support @Import on interfaces