Package | Description |
---|---|
org.springframework.scheduling.concurrent |
Scheduling convenience classes for the
java.util.concurrent
and javax.enterprise.concurrent packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context. |
org.springframework.scheduling.config |
Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentTaskScheduler
Adapter that takes a
java.util.concurrent.ScheduledExecutorService and
exposes a Spring TaskScheduler for it. |
class |
DefaultManagedTaskScheduler
JNDI-based variant of
ConcurrentTaskScheduler , performing a default lookup for
JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Java EE 7 environment. |
class |
ThreadPoolTaskScheduler
Implementation of Spring's
TaskScheduler interface, wrapping
a native ScheduledThreadPoolExecutor . |
Modifier and Type | Method and Description |
---|---|
TaskScheduler |
ScheduledTaskRegistrar.getScheduler()
Return the
TaskScheduler instance for this registrar (may be null ). |
Modifier and Type | Method and Description |
---|---|
void |
ScheduledTaskRegistrar.setTaskScheduler(TaskScheduler taskScheduler)
Set the
TaskScheduler to register scheduled tasks with. |