Packageorg.spicefactory.parsley.messaging.receiver
Classpublic class AbstractPropertyReceiver
InheritanceAbstractPropertyReceiver Inheritance AbstractObjectProviderReceiver Inheritance AbstractMessageReceiver Inheritance Object
Implements PropertyReceiver
Subclasses CommandStatusFlag, DefaultMessageBinding

Abstract base class for all message handlers where the message is handled by or applied to a single property of the target instance.



Public Properties
 PropertyDefined By
 Inheritedorder : int
[read-only] The execution order for this receiver.
AbstractMessageReceiver
 Inheritedprovider : ObjectProvider
[read-only] The provider for the actual instance handling the message.
AbstractObjectProviderReceiver
 Inheritedselector : *
[read-only] An optional selector value to be used for selecting matching messages.
AbstractMessageReceiver
  targetProperty : Property
[read-only] The property to process for matching messages.
AbstractPropertyReceiver
 Inheritedtype : Class
[read-only] The class or interface of the message.
AbstractMessageReceiver
Protected Properties
 PropertyDefined By
 Inheritedinfo : MessageReceiverInfo
[read-only] The receiver configuration in one (mutable) model object.
AbstractMessageReceiver
Public Methods
 MethodDefined By
  
Creates a new instance.
AbstractPropertyReceiver
  
init(provider:ObjectProvider, property:Property):void
Initializes this receiver, passing the target object provider and property.
AbstractPropertyReceiver
  
toString():String
AbstractPropertyReceiver
Protected Methods
 MethodDefined By
 Inherited
Sets the provider for target instances for this receiver.
AbstractObjectProviderReceiver
Property Detail
targetPropertyproperty
targetProperty:Property  [read-only]

The property to process for matching messages.


Implementation
    public function get targetProperty():Property
Constructor Detail
AbstractPropertyReceiver()Constructor
public function AbstractPropertyReceiver(info:MessageReceiverInfo)

Creates a new instance.

Parameters
info:MessageReceiverInfo — the mapping information for this receiver
Method Detail
init()method
public function init(provider:ObjectProvider, property:Property):void

Initializes this receiver, passing the target object provider and property.

Parameters

provider:ObjectProvider — the provider to use for obtaining target instances for matching messages
 
property:Property — the target property on instances obtained by the provider that handles the message

toString()method 
public function toString():String

Returns
String