Removed TaskSchedulerAware.

This commit is contained in:
Mark Fisher
2008-11-25 22:33:54 +00:00
parent db756e2f44
commit cc7c053d87
2 changed files with 1 additions and 30 deletions

View File

@@ -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<T extends Map<K, Message<?>>, K>
extends AbstractMessageHandler implements TaskSchedulerAware, InitializingBean {
extends AbstractMessageHandler implements InitializingBean {
public final static long DEFAULT_SEND_TIMEOUT = 1000;

View File

@@ -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);
}