Skip to content

Consider implemented interfaces during @Import processing #34805

Not planned
@wilkinsona

Description

@wilkinsona
Member

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

added
in: coreIssues in core modules (aop, beans, core, context, expression)
and removed on Apr 23, 2025
added this to the 7.0.x milestone on Apr 23, 2025
added 2 commits that reference this issue on Apr 24, 2025

Support @import on interfaces

f94b5bc

Support @import on interfaces

574c740
added a commit that references this issue on Apr 24, 2025
6ff1e2d
sbrannen

sbrannen commented on Jun 3, 2025

@sbrannen
Member
removed this from the 7.0.x milestone on Jun 3, 2025
added 3 commits that reference this issue on Jun 3, 2025
d48fb7f
a3dd3d2
fdbfa3e
added a commit that references this issue on Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: supersededAn issue that has been superseded by anothertype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @sbrannen@wilkinsona@jhoeller@spring-projects-issues

      Issue actions

        Consider implemented interfaces during `@Import` processing · Issue #34805 · spring-projects/spring-framework