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 TypeClassDescriptionclassBase class for setting up aExecutorService(typically aThreadPoolExecutororScheduledThreadPoolExecutor).classA simple implementation of Spring'sTaskSchedulerinterface, 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 TypeMethodDescriptionvoidExecutorConfigurationSupport.onApplicationEvent(ContextClosedEvent event) ContextClosedEventhandler for initiating an early shutdown.voidSimpleAsyncTaskScheduler.onApplicationEvent(ContextClosedEvent event)