Class PropertyBackedBeanUnregisteredEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isPermanent()
      Is the component being destroyed forever, i.e.
      • Methods inherited from class org.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PropertyBackedBeanUnregisteredEvent

        public PropertyBackedBeanUnregisteredEvent​(PropertyBackedBean source,
                                                   boolean isPermanent)
        The Constructor.
        Parameters:
        source - the source of the event
    • Method Detail

      • isPermanent

        public boolean isPermanent()
        Is the component being destroyed forever, i.e. should persisted values be removed?
        Returns:
        true if the bean is being destroyed forever. On server shutdown, this value would be false, whereas on the removal of a dynamically created instance, this value would be true.