コード例 #1
0
  @Override
  protected void onInit() throws Exception {
    super.onInit();

    if (this.evaluationContext == null) {
      this.evaluationContext = ExpressionUtils.createStandardEvaluationContext(getBeanFactory());
    }
  }
コード例 #2
0
 @Override
 protected void onInit() throws Exception {
   super.onInit();
   if (this.isClientMode) {
     Assert.notNull(
         this.clientConnectionFactory,
         "For client-mode, connection factory must be type='client'");
     Assert.isTrue(
         !this.clientConnectionFactory.isSingleUse(),
         "For client-mode, connection factory must have single-use='false'");
   }
 }
コード例 #3
0
 @Override // super class is protected
 public void setTaskScheduler(TaskScheduler taskScheduler) {
   super.setTaskScheduler(taskScheduler);
 }