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 TypeClassDescriptionclassEvent raised when anApplicationContextgets closed.classEvent raised when anApplicationContextgets initialized or refreshed.classEvent raised when anApplicationContextgets started.classEvent raised when anApplicationContextgets 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 TypeClassDescriptionclassBean post-processor that registers methods annotated with@Scheduledto be invoked by aTaskScheduleraccording to the "fixedRate", "fixedDelay", or "cron" expression provided via the annotation.Methods in org.springframework.scheduling.annotation with parameters of type ApplicationContextEventModifier and TypeMethodDescriptionvoidScheduledAnnotationBeanPostProcessor.onApplicationEvent(ApplicationContextEvent event) Reacts toContextRefreshedEventas well asContextClosedEvent: performingScheduledAnnotationBeanPostProcessor.finishRegistration()and early cancelling of scheduled tasks, respectively.