public class ConcurrentExecutorAdapter extends Object implements Executor
Executor
interface
for any Spring TaskExecutor
.
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.
Executor
,
TaskExecutor
Constructor and Description |
---|
ConcurrentExecutorAdapter(TaskExecutor taskExecutor)
Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor.
|
public ConcurrentExecutorAdapter(TaskExecutor taskExecutor)
taskExecutor
- the Spring TaskExecutor to wrap