Skip to content

Allow AnnotationTypeFilter to consider interfaces as well [SPR-8336] #12984

Closed

Description

@spring-projects-issues

Oliver Drotbohm opened SPR-8336 and commented

Currently AnnotationTypeFilter invokes the constructor of AbstractTypeHierarchyTraversingFilter setting considerInterfaces to false. This probably makes sense in most cases. However there might be BeanDefinitionParser implementations that declare a FactoryBean creating a proxy for discovered interfaces. So it would be cool if we could add a constructor to pass in a boolean to enable interface discovery as well.


Affects: 3.0.5, 3.1 M1

Attachments:

Issue Links:

Referenced from: commits spring-projects/spring-data-commons@4a70506

Activity

  1. spring-projects-issues commented on May 13, 2011

    @spring-projects-issues
    CollaboratorAuthor

    Oliver Drotbohm commented

    Added patch for review. Have that commited locally so that I could push it as is.

  2. spring-projects-issues commented on May 13, 2011

    @spring-projects-issues
    CollaboratorAuthor

    Oliver Drotbohm commented

    Applied the path with slight polishment (removed the invalid comment from the test case) as it was reviewed by Chris. Would be cool if we could backport it to 3.0.6 even if it's no bugfix in a strict sense. I am unsure currently when Spring Data will be able to move to 3.1, as requiring the new major version will probably make Spring Data adoption a bit harder.

  3. spring-projects-issues commented on May 13, 2011

    @spring-projects-issues
    CollaboratorAuthor

    Oliver Drotbohm commented

    • duplicate comment -
  4. added
    type: enhancement
    in: core
    on Jan 11, 2019
  5. added this to the 3.1 GA milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions