@Test public void setsBasicInstanceCorrectly() { factoryBean.setBeanFactory(beanFactory); factoryBean.afterPropertiesSet(); assertThat(factoryBean.getObject()).isNotNull(); }
@Override public void afterPropertiesSet() { log.debug("Before afterPropertiesSet ..."); try { super.afterPropertiesSet(); } catch (Exception e) { log.debug("Fail to setup...", e); } log.debug("After afterPropertiesSet"); }
RequeryRepositoryFactoryBean extends TransactionalRepositoryFactoryBeanSupport<T, S, ID> { @Override public void afterPropertiesSet() { log.debug("Before afterPropertiesSet ..."); try { super.afterPropertiesSet(); } catch (Exception e) { log.debug("Fail to setup...", e); } log.debug("After afterPropertiesSet"); } }
RequeryRepositoryFactoryBean extends TransactionalRepositoryFactoryBeanSupport<T, S, ID> { @Override public void afterPropertiesSet() { log.debug("Before afterPropertiesSet ..."); try { super.afterPropertiesSet(); } catch (Exception e) { log.debug("Fail to setup...", e); } log.debug("After afterPropertiesSet"); } RequeryRepositoryFactoryBean(@Nonnull final Class<? extends T> repositoryInterface); }
RequeryRepositoryFactoryBean extends TransactionalRepositoryFactoryBeanSupport<T, S, ID> { @Override public void afterPropertiesSet() { log.debug("Before afterPropertiesSet ..."); try { super.afterPropertiesSet(); } catch (Exception e) { log.debug("Fail to setup...", e); } log.debug("After afterPropertiesSet"); } RequeryRepositoryFactoryBean(@Nonnull final Class<? extends T> repositoryInterface); @Autowired(required = false) void setOperations(@Nullable final RequeryOperations operations); @Override void afterPropertiesSet(); }
RequeryRepositoryFactoryBean extends TransactionalRepositoryFactoryBeanSupport<T, S, ID> { @Override public void afterPropertiesSet() { log.debug("Before afterPropertiesSet ..."); try { super.afterPropertiesSet(); } catch (Exception e) { log.debug("Fail to setup...", e); } log.debug("After afterPropertiesSet"); } RequeryRepositoryFactoryBean(@Nonnull final Class<? extends T> repositoryInterface); @Autowired(required = false) void setOperations(@Nullable final RequeryOperations operations); @Override void afterPropertiesSet();  }