Class ConcurrentExecutorAdapter
java.lang.Object
org.springframework.core.task.support.ConcurrentExecutorAdapter
- All Implemented Interfaces:
Executor
@Deprecated(since="6.0.5",
forRemoval=true)
public class ConcurrentExecutorAdapter
extends Object
implements Executor
Deprecated, for removal: This API element is subject to removal in a future version.
Adapter that exposes the
Executor interface for
any Spring TaskExecutor.
This adapter is less useful since Spring 3.0, since TaskExecutor itself
extends the Executor interface. The adapter is only relevant for
hiding the TaskExecutor nature of a given object, solely
exposing the standard Executor interface to a client.
- Since:
- 2.5
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConcurrentExecutorAdapter(TaskExecutor taskExecutor) Deprecated, for removal: This API element is subject to removal in a future version.Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor. -
Method Summary
-
Constructor Details
-
ConcurrentExecutorAdapter
Deprecated, for removal: This API element is subject to removal in a future version.Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor.- Parameters:
taskExecutor- the Spring TaskExecutor to wrap
-
-
Method Details
ConcurrentExecutorAdapteris obsolete and will be removed in Spring Framework 6.1