T
- The event typepublic abstract class BeanEvent<T> extends BeanContextEvent
Modifier and Type | Field and Description |
---|---|
protected T |
bean |
protected BeanDefinition<T> |
beanDefinition |
Constructor and Description |
---|
BeanEvent(BeanContext beanContext,
BeanDefinition<T> beanDefinition,
T bean) |
Modifier and Type | Method and Description |
---|---|
T |
getBean() |
BeanDefinition<T> |
getBeanDefinition() |
getSource
protected final BeanDefinition<T> beanDefinition
protected final T bean
public BeanEvent(BeanContext beanContext, BeanDefinition<T> beanDefinition, T bean)
beanContext
- The bean contextbeanDefinition
- The bean definitionbean
- The beanpublic T getBean()
public BeanDefinition<T> getBeanDefinition()