| Package | org.spicefactory.parsley.core.lifecycle |
| Interface | public interface LifecycleObserver |
| Implementors | DefaultLifecycleObserver |
| Property | Defined By | ||
|---|---|---|---|
| objectId : String [read-only]
The optional id of the object as registered in the Context. | LifecycleObserver | ||
| observedType : Class [read-only]
The type of the objects the observer is interested in. | LifecycleObserver | ||
| phase : Phase [read-only]
The phase of the object lifecycle that should trigger the observer. | LifecycleObserver | ||
| Method | Defined By | ||
|---|---|---|---|
observe(observed:Object):void
Invoked when any matching object reaches the specified phase in its lifecycle. | LifecycleObserver | ||
| objectId | property |
objectId:String [read-only] The optional id of the object as registered in the Context. If omitted all matching types will be observed.
public function get objectId():String| observedType | property |
observedType:Class [read-only] The type of the objects the observer is interested in.
public function get observedType():Class| phase | property |
phase:Phase [read-only] The phase of the object lifecycle that should trigger the observer.
public function get phase():Phase| observe | () | method |
public function observe(observed:Object):voidInvoked when any matching object reaches the specified phase in its lifecycle.
Parameters
observed:Object — the observerd instance
|