public class

ConcurrentExecutorAdapter

extends Object
implements Executor
java.lang.Object
   ↳ org.springframework.core.task.support.ConcurrentExecutorAdapter

Class Overview

Adapter that exposes the java.util.concurrent.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.

Summary

Public Constructors
ConcurrentExecutorAdapter(TaskExecutor taskExecutor)
Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor.
Public Methods
void execute(Runnable command)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.concurrent.Executor

Public Constructors

public ConcurrentExecutorAdapter (TaskExecutor taskExecutor)

Also: SpringCore

Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor.

Parameters
taskExecutor the Spring TaskExecutor to wrap

Public Methods

public void execute (Runnable command)

Also: SpringCore