Package io.micronaut.context.event
Class BeanInitializingEvent<T>
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.context.event.BeanContextEvent
io.micronaut.context.event.BeanEvent<T>
io.micronaut.context.event.BeanInitializingEvent<T>
- Type Parameters:
T
- The event type
- All Implemented Interfaces:
Serializable
An event fired when a bean's properties have been populated but initialization hooks (such as
PostConstruct
methods) have not yet been triggered.
To listen to an event for a fully initialized bean see BeanCreatedEvent
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Field Summary
Fields inherited from class io.micronaut.context.event.BeanEvent
bean, beanDefinition
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionBeanInitializingEvent
(BeanContext beanContext, BeanDefinition<T> beanDefinition, T bean) -
Method Summary
Methods inherited from class io.micronaut.context.event.BeanEvent
getBean, getBeanDefinition
Methods inherited from class io.micronaut.context.event.BeanContextEvent
getSource
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
BeanInitializingEvent
- Parameters:
beanContext
- The bean contextbeanDefinition
- The bean definitionbean
- The bean
-