T
- The event typepublic class BeanPreDestroyEvent<T> extends BeanEvent<T>
An event fired when a bean is about to be destroyed but before any PreDestroy
methods are invoked..
BeanDestroyedEvent
,
Serialized Formbean, beanDefinition
source
Constructor and Description |
---|
BeanPreDestroyEvent(BeanContext beanContext,
BeanDefinition<T> beanDefinition,
T bean) |
getBean, getBeanDefinition
getSource
toString
public BeanPreDestroyEvent(BeanContext beanContext, BeanDefinition<T> beanDefinition, T bean)
beanContext
- The bean contextbeanDefinition
- The bean definitionbean
- The bean