From cc7c053d874d8cc4d54ba9ec6e67e9b4c5e03078 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Tue, 25 Nov 2008 22:33:54 +0000 Subject: [PATCH] Removed TaskSchedulerAware. --- .../AbstractMessageBarrierHandler.java | 3 +- .../scheduling/TaskSchedulerAware.java | 28 ------------------- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 org.springframework.integration/src/main/java/org/springframework/integration/scheduling/TaskSchedulerAware.java diff --git a/org.springframework.integration/src/main/java/org/springframework/integration/aggregator/AbstractMessageBarrierHandler.java b/org.springframework.integration/src/main/java/org/springframework/integration/aggregator/AbstractMessageBarrierHandler.java index c335bfa80e..ef51c67462 100644 --- a/org.springframework.integration/src/main/java/org/springframework/integration/aggregator/AbstractMessageBarrierHandler.java +++ b/org.springframework.integration/src/main/java/org/springframework/integration/aggregator/AbstractMessageBarrierHandler.java @@ -37,7 +37,6 @@ import org.springframework.integration.message.MessageHandler; import org.springframework.integration.message.MessageHandlingException; import org.springframework.integration.scheduling.IntervalTrigger; import org.springframework.integration.scheduling.TaskScheduler; -import org.springframework.integration.scheduling.TaskSchedulerAware; import org.springframework.util.Assert; /** @@ -67,7 +66,7 @@ import org.springframework.util.Assert; * @author Marius Bogoevici */ public abstract class AbstractMessageBarrierHandler>, K> - extends AbstractMessageHandler implements TaskSchedulerAware, InitializingBean { + extends AbstractMessageHandler implements InitializingBean { public final static long DEFAULT_SEND_TIMEOUT = 1000; diff --git a/org.springframework.integration/src/main/java/org/springframework/integration/scheduling/TaskSchedulerAware.java b/org.springframework.integration/src/main/java/org/springframework/integration/scheduling/TaskSchedulerAware.java deleted file mode 100644 index 62c5d8b6a5..0000000000 --- a/org.springframework.integration/src/main/java/org/springframework/integration/scheduling/TaskSchedulerAware.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright 2002-2008 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.springframework.integration.scheduling; - -/** - * Callback interface for any component that requires access to the TaskScheduler. - * - * @author Mark Fisher - */ -public interface TaskSchedulerAware { - - void setTaskScheduler(TaskScheduler taskScheduler); - -}