Packageorg.spicefactory.parsley.core.lifecycle
Interfacepublic interface LifecycleObserverRegistry
Implementors DefaultLifecycleObserverRegistry

A registry for observers that listen to lifecycle events of objects within a single scope.



Public Methods
 MethodDefined By
  
Adds an observer of object lifecycle events in this scope.
LifecycleObserverRegistry
  
Removes an observer of object lifecycle events from this scope.
LifecycleObserverRegistry
Method Detail
addObserver()method
public function addObserver(observer:LifecycleObserver):void

Adds an observer of object lifecycle events in this scope.

Parameters

observer:LifecycleObserver — the type of the objects the listener is interested in

removeObserver()method 
public function removeObserver(observer:LifecycleObserver):void

Removes an observer of object lifecycle events from this scope.

Parameters

observer:LifecycleObserver — the type of the objects the listener is interested in