Package | org.spicefactory.parsley.core.context.impl |
Class | public class InitializerSequence |
Inheritance | InitializerSequence Object |
Property | Defined By | ||
---|---|---|---|
complete : Boolean [read-only]
Indicates whether all definitions of this sequence have completed their initialization. | InitializerSequence |
Method | Defined By | ||
---|---|---|---|
InitializerSequence(context:DefaultContext)
Creates a new instance. | InitializerSequence | ||
addDefinition(def:ObjectDefinition):void
Adds a definition to this sequence. | InitializerSequence | ||
cancel():void
Cancels the initialization sequence. | InitializerSequence | ||
handleAsyncInit(object:ManagedObject, isQueued:Boolean):void
Adds a new instance to be watched by this sequence for completion of its asynchronous initialization. | InitializerSequence | ||
start():void
Starts processing the definitons that were added to this sequence. | InitializerSequence |
complete | property |
complete:Boolean
[read-only] Indicates whether all definitions of this sequence have completed their initialization.
public function get complete():Boolean
InitializerSequence | () | Constructor |
public function InitializerSequence(context:DefaultContext)
Creates a new instance.
Parameterscontext:DefaultContext — the associated Context
|
addDefinition | () | method |
public function addDefinition(def:ObjectDefinition):void
Adds a definition to this sequence.
Parameters
def:ObjectDefinition — the definition to add to this sequence
|
cancel | () | method |
public function cancel():void
Cancels the initialization sequence.
handleAsyncInit | () | method |
public function handleAsyncInit(object:ManagedObject, isQueued:Boolean):void
Adds a new instance to be watched by this sequence for completion of its asynchronous initialization.
Parameters
object:ManagedObject — the object to watch
| |
isQueued:Boolean |
start | () | method |
public function start():void
Starts processing the definitons that were added to this sequence.