- All Implemented Interfaces:
Adapter that exposes the
Executorinterface for any Spring
This is less useful as of Spring 3.0, since TaskExecutor itself extends the Executor interface. The adapter is only relevant for hiding the TaskExecutor nature of a given object now, solely exposing the standard Executor interface to a client.
(TaskExecutor taskExecutor)Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor.
taskExecutor- the Spring TaskExecutor to wrap