Skip to content

Notify *Aware interfaces using custom type filters through Enable…Repositories#includeFilters #2481

Closed
@f-cramer

Description

@f-cramer

The javadoc for ComponentScan.Filter#classes specifies that custom instances of TypeFilter can implement any of 4 *Aware interfaces, whose methods should be called before matching.
When specifying a filter in EnableJpaRepositories#includeFilters, the methods of those interfaces are not called. Construtor autowiring cannot be used either, because filter instances are created using BeanUtils#instantiateClass(Class<?>).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions