Skip to content

Allow @ComponentScan custom filters to implement *Aware interfaces [SPR-14009] #18581

Closed

Description

@spring-projects-issues

Phil Webb opened SPR-14009 and commented

@ComponentScan allows custom TypeFilters to be created and used for scanning. Spring Boot would like to have access to the BeanFactory from within the filter, however, this isn't currently possible. It would be helpful if a subset of *Aware interfaces could be implemented on the filter (much like they can be on ImportBeanDefinitionRegistrar & ImportSelector.


Affects: 4.2.5

Issue Links:

Referenced from: pull request #984, and commits 094cf6c

Activity

  1. spring-projects-issues commented on Mar 1, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Phil Webb commented

    #984

  2. spring-projects-issues commented on Mar 11, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Phil Webb commented

    I can merge this directly if it's all good?

  3. spring-projects-issues commented on Mar 11, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    Sure, works for me :-)

  4. spring-projects-issues commented on Mar 11, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Phil Webb commented

    Fixed in 094cf6c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions