Package io.micronaut.context.event
Class BeanDestroyedEvent<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.BeanDestroyedEvent<T>
- Type Parameters:
T
- The event type
- All Implemented Interfaces:
Serializable
An event fired when a bean has been destroyed and all PreDestroy
methods have been invoked.
- Since:
- 3.0.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
ConstructorDescriptionBeanDestroyedEvent
(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
-
BeanDestroyedEvent
- Parameters:
beanContext
- The bean contextbeanDefinition
- The bean definitionbean
- The bean
-