Packageorg.spicefactory.parsley.core.builder.impl
Classpublic class DefaultAsyncInitBuilder
InheritanceDefaultAsyncInitBuilder Inheritance Object
Implements AsyncInitBuilder, ObjectDefinitionBuilderPart

Default implementation of the AsyncInitBuilder interface.



Public Methods
 MethodDefined By
  
apply(target:ObjectDefinition):void
Applies this builder part to the final definition
DefaultAsyncInitBuilder
  
The event type that signals that object initialization has successfully completed.
DefaultAsyncInitBuilder
  
The event type that signals that object initialization has failed.
DefaultAsyncInitBuilder
Method Detail
apply()method
public function apply(target:ObjectDefinition):void

Applies this builder part to the final definition

Parameters

target:ObjectDefinition — the final definition to apply this part to

completeEvent()method 
public function completeEvent(type:String):AsyncInitBuilder

The event type that signals that object initialization has successfully completed. The default is Event.COMPLETE.

Parameters

type:String — the event type that signals that object initialization has successfully completed

Returns
AsyncInitBuilder — this builder for method chaining
errorEvent()method 
public function errorEvent(type:String):AsyncInitBuilder

The event type that signals that object initialization has failed. The default is Event.COMPLETE.

Parameters

type:String — the event type that signals that object initialization has failed

Returns
AsyncInitBuilder — this builder for method chaining