Package io.micronaut.context.event
Contains classes related to
ApplicationContext event publishing and consuming.- Since:
- 1.0
-
Interface Summary Interface Description ApplicationEventListener<E> An interface for receivers of application events.ApplicationEventPublisher<T> Interface for classes that publish events received byApplicationEventListenerinstances.BeanCreatedEventListener<T> An event listener that is triggered each time a bean is created.BeanDestroyedEventListener<T> An event listener that is triggered after a bean is destroyed.BeanInitializedEventListener<T> Allows hooking into bean instantiation at the point prior to whenPostConstructinitialization hooks have been called and in the case of beanBeanProviderinstances theBeanProvider.get()method has not yet been invoked.BeanPreDestroyEventListener<T> An event listener that is triggered before a bean is destroyed. -
Class Summary Class Description ApplicationEvent AnApplicationEventis a user specified event object.ApplicationEventPublisherFactory<T> Constructs instances ofApplicationEventPublisher.BeanContextEvent A BeanContextEvent is an event fired from theBeanContextinstance.BeanCreatedEvent<T> An event fired when a bean is created and fully initialized.BeanDestroyedEvent<T> An event fired when a bean has been destroyed and allPreDestroymethods have been invoked.BeanEvent<T> An abstract bean event.BeanInitializingEvent<T> An event fired when a bean's properties have been populated but initialization hooks (such asPostConstructmethods) have not yet been triggered.BeanPreDestroyEvent<T> An event fired when a bean is about to be destroyed but before anyPreDestroymethods are invoked..ShutdownEvent An event fired prior to starting shutdown sequence.StartupEvent An event fired once startup is complete.