org.alfresco.repo.management.subsystems
Class PropertyBackedBeanUnregisteredEvent

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

public class PropertyBackedBeanUnregisteredEvent
extends PropertyBackedBeanEvent

An event emitted a PropertyBackedBean is destroyed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PropertyBackedBeanUnregisteredEvent(PropertyBackedBean source, boolean isPermanent)
          The Constructor.
 
Method Summary
 boolean isPermanent()
          Is the component being destroyed forever, i.e.
 
Methods inherited from class org.alfresco.repo.management.subsystems.PropertyBackedBeanEvent
getSourceId
 
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.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.