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 TypeClassDescriptionclassBase class for setting up aExecutorService(typically aThreadPoolExecutororScheduledThreadPoolExecutor).classFactoryBeanthat sets up aScheduledExecutorService(by default: aScheduledThreadPoolExecutor) and exposes it for bean references.classA simple implementation of Spring'sTaskSchedulerinterface, using a single scheduler thread and executing every scheduled task in an individual separate thread.classJavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorServicetype.classJavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor.classA standard implementation of Spring'sTaskSchedulerinterface, wrapping a nativeScheduledThreadPoolExecutorand providing all applicable configuration options for it.