public class ConcurrentExecutorAdapter extends java.lang.Object implements java.util.concurrent.Executor
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.
|Constructor and Description|
Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor.
|Modifier and Type||Method and Description|
public ConcurrentExecutorAdapter(TaskExecutor taskExecutor)
taskExecutor- the Spring TaskExecutor to wrap