Class BeanPropertyChangedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.microsphere.spring.context.event.BeanPropertyChangedEvent
- All Implemented Interfaces:
Serializable
public class BeanPropertyChangedEvent
extends org.springframework.context.ApplicationEvent
The event published when a Beans' is changed.
- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionBeanPropertyChangedEvent
(Object bean, String propertyName, Object oldValue, Object newValue) The constructor -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
BeanPropertyChangedEvent
The constructor- Parameters:
bean
- the source beanpropertyName
- the property name was changedoldValue
- the property value before changednewValue
- the property value after changed
-
-
Method Details
-
getBean
-
getPropertyName
-
getOldValue
-
getNewValue
-
toString
- Overrides:
toString
in classEventObject
-