| Package | org.spicefactory.parsley.core.lifecycle |
| Interface | public interface LifecycleObserverRegistry |
| Implementors | DefaultLifecycleObserverRegistry |
| Method | Defined By | ||
|---|---|---|---|
addObserver(observer:LifecycleObserver):void
Adds an observer of object lifecycle events in this scope. | LifecycleObserverRegistry | ||
removeObserver(observer:LifecycleObserver):void
Removes an observer of object lifecycle events from this scope. | LifecycleObserverRegistry | ||
| addObserver | () | method |
public function addObserver(observer:LifecycleObserver):voidAdds 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):voidRemoves an observer of object lifecycle events from this scope.
Parameters
observer:LifecycleObserver — the type of the objects the listener is interested in
|