# Package org.springframework.context.event

@NonNullApi @NonNullFields package org.springframework.context.event
Support classes for application events, like standard context events. To be supported by all major application context implementations.

Related Packages
Package
Description
org.springframework.context
This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.
Class
Description
AbstractApplicationEventMulticaster
Abstract implementation of the `ApplicationEventMulticaster` interface, providing the basic listener registration facility.
ApplicationContextEvent
Base class for events raised for an `ApplicationContext`.
ApplicationEventMulticaster
Interface to be implemented by objects that can manage a number of `ApplicationListener` objects and publish events to them.
ApplicationListenerMethodAdapter
`GenericApplicationListener` adapter that delegates the processing of an event to an `EventListener` annotated method.
ContextClosedEvent
Event raised when an `ApplicationContext` gets closed.
ContextRefreshedEvent
Event raised when an `ApplicationContext` gets initialized or refreshed.
ContextStartedEvent
Event raised when an `ApplicationContext` gets started.
ContextStoppedEvent
Event raised when an `ApplicationContext` gets stopped.
DefaultEventListenerFactory
Default `EventListenerFactory` implementation that supports the regular `EventListener` annotation.
EventListener
Annotation that marks a method as a listener for application events.
EventListenerFactory
Strategy interface for creating `ApplicationListener` for methods annotated with `EventListener`.
EventListenerMethodProcessor
Registers `EventListener` methods as individual `ApplicationListener` instances.
EventPublicationInterceptor
`Interceptor` that publishes an `ApplicationEvent` to all `ApplicationListeners` registered with an `ApplicationEventPublisher` after each successful method invocation.
GenericApplicationListener
Extended variant of the standard `ApplicationListener` interface, exposing further metadata such as the supported event and source type.
GenericApplicationListenerAdapter
`GenericApplicationListener` adapter that determines supported event types through introspecting the generically declared type of the target listener.
SimpleApplicationEventMulticaster
Simple implementation of the `ApplicationEventMulticaster` interface.
SmartApplicationListener
Extended variant of the standard `ApplicationListener` interface, exposing further metadata such as the supported event and source type.
SourceFilteringListener
`ApplicationListener` decorator that filters events from a specified event source, invoking its delegate listener for matching `ApplicationEvent` objects only.