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:
  • Constructor Details

    • BeanPropertyChangedEvent

      public BeanPropertyChangedEvent(Object bean, String propertyName, Object oldValue, Object newValue)
      The constructor
      Parameters:
      bean - the source bean
      propertyName - the property name was changed
      oldValue - the property value before changed
      newValue - the property value after changed
  • Method Details

    • getBean

      public Object getBean()
    • getPropertyName

      public String getPropertyName()
    • getOldValue

      public Object getOldValue()
    • getNewValue

      public Object getNewValue()
    • toString

      public String toString()
      Overrides:
      toString in class EventObject