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