Uses of Class
org.springframework.context.event.ApplicationContextEvent
Packages that use ApplicationContextEvent
Package
Description
Support classes for application events, like standard context events.
Annotation support for asynchronous method execution.
-
Uses of ApplicationContextEvent in org.springframework.context.event
Subclasses of ApplicationContextEvent in org.springframework.context.eventModifier and TypeClassDescriptionclass
Event raised when anApplicationContext
gets closed.class
Event raised when anApplicationContext
gets initialized or refreshed.class
Event raised when anApplicationContext
gets started.class
Event raised when anApplicationContext
gets stopped. -
Uses of ApplicationContextEvent in org.springframework.scheduling.annotation
Classes in org.springframework.scheduling.annotation that implement interfaces with type arguments of type ApplicationContextEventModifier and TypeClassDescriptionclass
Bean post-processor that registers methods annotated with@Scheduled
to be invoked by aTaskScheduler
according to the "fixedRate", "fixedDelay", or "cron" expression provided via the annotation.Methods in org.springframework.scheduling.annotation with parameters of type ApplicationContextEventModifier and TypeMethodDescriptionvoid
ScheduledAnnotationBeanPostProcessor.onApplicationEvent
(ApplicationContextEvent event) Reacts toContextRefreshedEvent
as well asContextClosedEvent
: performingScheduledAnnotationBeanPostProcessor.finishRegistration()
and early cancelling of scheduled tasks, respectively.