Uses of Interface
org.springframework.context.SmartLifecycle
Packages that use SmartLifecycle
Package
Description
Scheduling convenience classes for the
java.util.concurrent
and jakarta.enterprise.concurrent
packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context.-
Uses of SmartLifecycle in org.springframework.scheduling.concurrent
Classes in org.springframework.scheduling.concurrent that implement SmartLifecycleModifier and TypeClassDescriptionclass
Base class for setting up aExecutorService
(typically aThreadPoolExecutor
orScheduledThreadPoolExecutor
).class
FactoryBean
that sets up aScheduledExecutorService
(by default: aScheduledThreadPoolExecutor
) and exposes it for bean references.class
A simple implementation of Spring'sTaskScheduler
interface, using a single scheduler thread and executing every scheduled task in an individual separate thread.class
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorService
type.class
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor
.class
A standard implementation of Spring'sTaskScheduler
interface, wrapping a nativeScheduledThreadPoolExecutor
and providing all applicable configuration options for it.