コード例 #1
0
 @Override
 public final void onInit() {
   super.onInit();
   if (this.selector instanceof AbstractMessageProcessingSelector) {
     ((AbstractMessageProcessingSelector) this.selector)
         .setConversionService(this.getConversionService());
   }
   if (this.selector instanceof BeanFactoryAware) {
     ((BeanFactoryAware) this.selector).setBeanFactory(this.getBeanFactory());
   }
 }
コード例 #2
0
 @Override
 protected void onInit() {
   super.onInit();
   this.jpaExecutor.setBeanFactory(this.getBeanFactory());
 }