Uses of Class
org.springframework.context.event.ContextClosedEvent
Packages that use ContextClosedEvent
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 ContextClosedEvent in org.springframework.scheduling.concurrent
Classes in org.springframework.scheduling.concurrent that implement interfaces with type arguments of type ContextClosedEventModifier and TypeClassDescriptionclass
Base class for setting up aExecutorService
(typically aThreadPoolExecutor
orScheduledThreadPoolExecutor
).class
A simple implementation of Spring'sTaskScheduler
interface, using a single scheduler thread and executing every scheduled task in an individual separate thread.Methods in org.springframework.scheduling.concurrent with parameters of type ContextClosedEventModifier and TypeMethodDescriptionvoid
ExecutorConfigurationSupport.onApplicationEvent
(ContextClosedEvent event) ContextClosedEvent
handler for initiating an early shutdown.void
SimpleAsyncTaskScheduler.onApplicationEvent
(ContextClosedEvent event)