Class DefaultManagedTaskScheduler

All Implemented Interfaces:
Executor, org.springframework.beans.factory.InitializingBean, org.springframework.core.task.AsyncListenableTaskExecutor, org.springframework.core.task.AsyncTaskExecutor, org.springframework.core.task.TaskExecutor, SchedulingTaskExecutor, TaskScheduler

public class DefaultManagedTaskScheduler extends ConcurrentTaskScheduler implements org.springframework.beans.factory.InitializingBean
JNDI-based variant of ConcurrentTaskScheduler, performing a default lookup for JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Jakarta EE environment.

Note: This class is not strictly JSR-236 based; it can work with any regular ScheduledExecutorService that can be found in JNDI. The actual adapting to ManagedScheduledExecutorService happens in the base class ConcurrentTaskScheduler itself.

Since:
4.0
Author:
Juergen Hoeller
See Also: