Packageorg.spicefactory.parsley.messaging.processor
Classpublic class PropertyReceiverProcessor
InheritancePropertyReceiverProcessor Inheritance MessageReceiverProcessor Inheritance Object
Implements PropertyProcessor

Processor that registers message receivers for a target property.



Protected Properties
 PropertyDefined By
 InheritedreceiverFactory : Function
The factory to invoke for creating new receiver instances.
MessageReceiverProcessor
 InheritedscopeName : String
The name of the scope the receiver should get registered in.
MessageReceiverProcessor
Public Methods
 MethodDefined By
  
PropertyReceiverProcessor(factory:Function, scopeName:String)
Creates a new processor factory.
PropertyReceiverProcessor
 Inherited
Creates a clone of this processor by omitting all internal state that is tied to one particular target instance.
MessageReceiverProcessor
 Inherited
destroy(target:ManagedObject):void
Invoked when the target instance gets removed from the Context.
MessageReceiverProcessor
 Inherited
Invoked when the Context gets destroyed before the target instance gets initialized.
MessageReceiverProcessor
 Inherited
init(target:ManagedObject):void
Invoked during initialization of the target instance.
MessageReceiverProcessor
 Inherited
Allows the preprocessing of the specified object definition even before the target instance has been created.
MessageReceiverProcessor
  
targetProperty(property:Property):void
Sets the target property for this processor.
PropertyReceiverProcessor
Protected Methods
 MethodDefined By
 Inherited
Prepares the receiver, primarily passing the ObjectProvider and potentially the target member information (e.g.
MessageReceiverProcessor
Constructor Detail
PropertyReceiverProcessor()Constructor
public function PropertyReceiverProcessor(factory:Function, scopeName:String)

Creates a new processor factory.

Parameters
factory:Function — the factory that produces new MessageReceiver instances for each target object
 
scopeName:String — the name of the scope the receivers listen to
Method Detail
targetProperty()method
public function targetProperty(property:Property):void

Sets the target property for this processor.

Parameters

property:Property — the target property for this processor