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.
-
ClassDescriptionAbstract implementation of the
ApplicationEventMulticaster
interface, providing the basic listener registration facility.Base class for events raised for anApplicationContext
.Interface to be implemented by objects that can manage a number ofApplicationListener
objects and publish events to them.GenericApplicationListener
adapter that delegates the processing of an event to anEventListener
annotated method.Event raised when anApplicationContext
gets closed.Event raised when anApplicationContext
gets initialized or refreshed.Event raised when anApplicationContext
gets started.Event raised when anApplicationContext
gets stopped.DefaultEventListenerFactory
implementation that supports the regularEventListener
annotation.Annotation that marks a method as a listener for application events.Strategy interface for creatingApplicationListener
for methods annotated withEventListener
.RegistersEventListener
methods as individualApplicationListener
instances.Interceptor
that publishes anApplicationEvent
to allApplicationListeners
registered with anApplicationEventPublisher
after each successful method invocation.Extended variant of the standardApplicationListener
interface, exposing further metadata such as the supported event and source type.GenericApplicationListener
adapter that determines supported event types through introspecting the generically declared type of the target listener.Simple implementation of theApplicationEventMulticaster
interface.Extended variant of the standardApplicationListener
interface, exposing further metadata such as the supported event and source type.ApplicationListener
decorator that filters events from a specified event source, invoking its delegate listener for matchingApplicationEvent
objects only.