Packageorg.spicefactory.parsley.comobserver.tag
Classpublic class CommandResultDecorator
InheritanceCommandResultDecorator Inheritance MessageReceiverDecoratorBase Inheritance Object
Implements ObjectDefinitionDecorator

Represents a Metadata, MXML or XML tag that can be used on methods which wish to be invoked when the result of a matching asynchronous command execution has been received.



Public Properties
 PropertyDefined By
  immediate : Boolean
Indicates whether the result should be processed immediately after the command finished executing (when set to true) or after the entire sequence or flow finished (when set to false - the default).
CommandResultDecorator
  method : String
The name of the method that wishes to handle the message.
CommandResultDecorator
 Inheritedorder : int = 2.147483647E9
The execution order for this receiver.
MessageReceiverDecoratorBase
 Inheritedscope : String
The name of the scope this tag should be applied to.
MessageReceiverDecoratorBase
 Inheritedselector : *
An optional selector value to be used in addition to selecting messages by type.
MessageReceiverDecoratorBase
 Inheritedtype : Class
The type of the messages the receiver wants to handle.
MessageReceiverDecoratorBase
Public Methods
 MethodDefined By
  
CommandResultDecorator
Property Detail
immediateproperty
public var immediate:Boolean

Indicates whether the result should be processed immediately after the command finished executing (when set to true) or after the entire sequence or flow finished (when set to false - the default). Has no effect on the execution of a single command that is not part of a sequence or flow.

methodproperty 
public var method:String

The name of the method that wishes to handle the message.

Method Detail
decorate()method
public function decorate(builder:ObjectDefinitionBuilder):void

Parameters

builder:ObjectDefinitionBuilder