Class PropertyBackedBeanUnregisteredEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.alfresco.repo.management.subsystems.PropertyBackedBeanEvent
org.alfresco.repo.management.subsystems.PropertyBackedBeanUnregisteredEvent
All Implemented Interfaces:
Serializable

public class PropertyBackedBeanUnregisteredEvent extends PropertyBackedBeanEvent
An event emitted a PropertyBackedBean is destroyed.
Author:
dward
See Also:
  • Constructor Details

    • PropertyBackedBeanUnregisteredEvent

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

    • 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.