Class BeanPropertyChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- io.microsphere.spring.context.event.BeanPropertyChangedEvent
-
- All Implemented Interfaces:
java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BeanPropertyChangedEvent(java.lang.Object bean, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
The constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getBean()
java.lang.Object
getNewValue()
java.lang.Object
getOldValue()
java.lang.String
getPropertyName()
java.lang.String
toString()
-
-
-
Constructor Detail
-
BeanPropertyChangedEvent
public BeanPropertyChangedEvent(java.lang.Object bean, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
The constructor- Parameters:
bean
- the source beanpropertyName
- the property name was changedoldValue
- the property value before changednewValue
- the property value after changed
-
-
Method Detail
-
getBean
public java.lang.Object getBean()
-
getPropertyName
public java.lang.String getPropertyName()
-
getOldValue
public java.lang.Object getOldValue()
-
getNewValue
public java.lang.Object getNewValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.util.EventObject
-
-