コード例 #1
0
 @Override
 protected void onInit() throws Exception {
   super.onInit();
   if (!this.mapperSet) {
     this.mapper.setBeanFactory(this.getBeanFactory());
   }
 }
 @Override
 protected void onInit() throws Exception {
   super.onInit();
   if (!this.sqlParameterSourceFactorySet && this.getBeanFactory() != null) {
     ((ExpressionEvaluatingSqlParameterSourceFactory) this.sqlParameterSourceFactory)
         .setBeanFactory(this.getBeanFactory());
   }
 }
コード例 #3
0
 public void setParent(IntegrationObjectSupport parent) {
   this.parent = parent;
   setComponentName(parent.getComponentName());
 }