@Override
    public void setBeanFactory(BeanFactory beanFactory) {
        this.beanFactory = beanFactory;
    }
Verifies that the object type has been set
spring/src/main/java/org/jdbi/v3/spring/JdbiRepositoryFactoryBean.java