Package io.micronaut.context.event
Class BeanPreDestroyEvent<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.BeanPreDestroyEvent<T>
- Type Parameters:
T
- The event type
- All Implemented Interfaces:
Serializable
An event fired when a bean is about to be destroyed but before any PreDestroy
methods are 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
ConstructorDescriptionBeanPreDestroyEvent
(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
-
BeanPreDestroyEvent
- Parameters:
beanContext
- The bean contextbeanDefinition
- The bean definitionbean
- The bean
-