private ClassPathScanningCandidateComponentProvider createScanner() {
        var scanner = new ClassPathScanningCandidateComponentProvider() {
            @Override
            protected boolean isCandidateComponent(AnnotatedBeanDefinition beanDefinition) {
                return beanDefinition.getMetadata().isInterface();
            }
        };
        scanner.addIncludeFilter(new AnnotationTypeFilter(JdbiRepository.class));
        return scanner;
    }
This bean registers the bean definitions of all repositories.
Interfaces found using the configuration of {@link EnableJdbiRepositories}
and annotated with {@link JdbiRepository} will be registered.
spring/src/main/java/org/jdbi/v3/spring/JdbiRepositoryRegistrar.java