Package | org.spicefactory.parsley.messaging.receiver |
Class | public class DefaultMessageBinding |
Inheritance | DefaultMessageBinding AbstractPropertyReceiver AbstractObjectProviderReceiver AbstractMessageReceiver Object |
Implements | MessageTarget |
Property | Defined By | ||
---|---|---|---|
messageProperty : Property [read-only]
The property of the message that should be bound to the target property. | DefaultMessageBinding | ||
order : int [read-only]
The execution order for this receiver. | AbstractMessageReceiver | ||
provider : ObjectProvider [read-only]
The provider for the actual instance handling the message. | AbstractObjectProviderReceiver | ||
selector : * [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 | ||
type : Class [read-only]
The class or interface of the message. | AbstractMessageReceiver |
Method | Defined By | ||
---|---|---|---|
DefaultMessageBinding(info:MessageReceiverInfo, messagePropertyName:String)
Creates a new instance. | DefaultMessageBinding | ||
handleMessage(processor:MessageProcessor):void
Handles a message for this target. | DefaultMessageBinding | ||
Initializes this receiver, passing the target object
provider and property. | AbstractPropertyReceiver | ||
toString():String | AbstractPropertyReceiver |
messageProperty | property |
messageProperty:Property
[read-only] The property of the message that should be bound to the target property.
public function get messageProperty():Property
DefaultMessageBinding | () | Constructor |
public function DefaultMessageBinding(info:MessageReceiverInfo, messagePropertyName:String)
Creates a new instance.
Parametersinfo:MessageReceiverInfo — the mapping information for this receiver
| |
messagePropertyName:String — the name of the property of the message that should be bound to the target property
|
handleMessage | () | method |
public function handleMessage(processor:MessageProcessor):void
Handles a message for this target. The specified processor may be used to control the message processing, like canceling or suspending a message.
Parameters
processor:MessageProcessor — the processor for the message
|