Closed
Description
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<?>)
.