# Uses of Class
org.springframework.context.event.ApplicationContextEvent

Packages that use ApplicationContextEvent
Package
Description
org.springframework.context.event
Support classes for application events, like standard context events.
org.springframework.scheduling.annotation
Annotation support for asynchronous method execution.

## Uses of ApplicationContextEvent in org.springframework.context.event

Subclasses of ApplicationContextEvent in org.springframework.context.event
Modifier and Type
Class
Description
`class`
`ContextClosedEvent`
Event raised when an `ApplicationContext` gets closed.
`class`
`ContextRefreshedEvent`
Event raised when an `ApplicationContext` gets initialized or refreshed.
`class`
`ContextStartedEvent`
Event raised when an `ApplicationContext` gets started.
`class`
`ContextStoppedEvent`
Event raised when an `ApplicationContext` gets stopped.

## Uses of ApplicationContextEvent in org.springframework.scheduling.annotation

Methods in org.springframework.scheduling.annotation with parameters of type ApplicationContextEvent
Modifier and Type
Method
Description
`void`
ScheduledAnnotationBeanPostProcessor.`onApplicationEvent(ApplicationContextEvent event)`
Reacts to `ContextRefreshedEvent` as well as `ContextClosedEvent`: performing `ScheduledAnnotationBeanPostProcessor.finishRegistration()` and early cancelling of scheduled tasks, respectively.