Packageorg.spicefactory.parsley.command.tag
Classpublic class MapCommandTag
InheritanceMapCommandTag Inheritance Object
Implements RootConfigurationElement

Represents a mapping in MXML or XML configuration for a managed command that gets executed when a matching message is dispatched in the Context.

Default MXML Propertycommand



Public Properties
 PropertyDefined By
  command : NestedCommandTag
The command to map to the message.
MapCommandTag
  messageType : Class
The type of message (including subtypes) that should trigger command execution.
MapCommandTag
  order : int = 2.147483647E9
The execution order in relation to other message receivers.
MapCommandTag
  scope : String
The name of the scope in which to listen for messages.
MapCommandTag
  selector : *
The optional selector for mapping matching messages.
MapCommandTag
  type : Class
The command class.
MapCommandTag
Public Methods
 MethodDefined By
  
Processes this configuration tag, possilbly creating and registering object definitions.
MapCommandTag
Property Detail
commandproperty
public var command:NestedCommandTag

The command to map to the message.

messageTypeproperty 
public var messageType:Class

The type of message (including subtypes) that should trigger command execution.

orderproperty 
public var order:int = 2.147483647E9

The execution order in relation to other message receivers. This order attribute affects all types of message receivers, not only those that execute commands.

scopeproperty 
public var scope:String

The name of the scope in which to listen for messages.

selectorproperty 
public var selector:*

The optional selector for mapping matching messages.

typeproperty 
public var type:Class

The command class. If the command property is set this property will be ignored.

Method Detail
process()method
public function process(registry:ObjectDefinitionRegistry):void

Processes this configuration tag, possilbly creating and registering object definitions.

Parameters

registry:ObjectDefinitionRegistry — the registry associated with this element