Packageorg.spicefactory.parsley.messaging.receiver
Classpublic class AbstractObjectProviderReceiver
InheritanceAbstractObjectProviderReceiver Inheritance AbstractMessageReceiver Inheritance Object
Subclasses AbstractMethodReceiver, AbstractPropertyReceiver

Abstract base class for all types of message receivers that use an ObjectProvider for determining the target instance handling the message. An object provider is a convenient way to register lazy intializing message receivers where the instantiation of the actual instance handling the message may be deferred until the first matching message is dispatched.



Public Properties
 PropertyDefined By
 Inheritedorder : int
[read-only] The execution order for this receiver.
AbstractMessageReceiver
  provider : 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
 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.
AbstractObjectProviderReceiver
Protected Methods
 MethodDefined By
  
Sets the provider for target instances for this receiver.
AbstractObjectProviderReceiver
Property Detail
providerproperty
provider:ObjectProvider  [read-only]

The provider for the actual instance handling the message. Accessing the instance property of the provider may lead to initialization of the target instance in case it is lazy-intializing.


Implementation
    public function get provider():ObjectProvider
Constructor Detail
AbstractObjectProviderReceiver()Constructor
public function AbstractObjectProviderReceiver(info:MessageReceiverInfo)

Creates a new instance.

Parameters
info:MessageReceiverInfo — the mapping information for this receiver
Method Detail
setProvider()method
protected function setProvider(provider:ObjectProvider):void

Sets the provider for target instances for this receiver.

Parameters

provider:ObjectProvider — the provider for target instances for this receiver