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
An event emitted a
PropertyBackedBean is destroyed.- Author:
- dward
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionPropertyBackedBeanUnregisteredEvent(PropertyBackedBean source, boolean isPermanent) The Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIs the component being destroyed forever, i.e.Methods inherited from class org.alfresco.repo.management.subsystems.PropertyBackedBeanEvent
getSourceIdMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PropertyBackedBeanUnregisteredEvent
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:
trueif the bean is being destroyed forever. On server shutdown, this value would befalse, whereas on the removal of a dynamically created instance, this value would betrue.
-