Package io.micronaut.context.event
package io.micronaut.context.event
Contains classes related to
ApplicationContext
event publishing and consuming.- Since:
- 1.0
- Author:
- graemerocher
-
ClassDescriptionAn
ApplicationEvent
is a user specified event object.An interface for receivers of application events.Interface for classes that publish events received byApplicationEventListener
instances.Constructs instances ofApplicationEventPublisher
.A BeanContextEvent is an event fired from theBeanContext
instance.An event fired when a bean is created and fully initialized.An event listener that is triggered each time a bean is created.An event fired when a bean has been destroyed and allPreDestroy
methods have been invoked.An event listener that is triggered after a bean is destroyed.BeanEvent<T>An abstract bean event.Allows hooking into bean instantiation at the point prior to whenPostConstruct
initialization hooks have been called and in the case of beanBeanProvider
instances theBeanProvider.get()
method has not yet been invoked.An event fired when a bean's properties have been populated but initialization hooks (such asPostConstruct
methods) have not yet been triggered.An event fired when a bean is about to be destroyed but before anyPreDestroy
methods are invoked..An event listener that is triggered before a bean is destroyed.An event fired prior to starting shutdown sequence.An event fired once startup is complete.