Packageorg.spicefactory.parsley.messaging.processor
Classpublic class MethodReceiverProcessor
InheritanceMethodReceiverProcessor Inheritance MessageReceiverProcessor Inheritance Object
Implements MethodProcessor

Processor that registers message receivers for a target method.



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
  
MethodReceiverProcessor(factory:Function, scopeName:String)
Creates a new processor factory.
MethodReceiverProcessor
 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
  
targetMethod(method:Method):void
Sets the target method for this processor.
MethodReceiverProcessor
Protected Methods
 MethodDefined By
 Inherited
Prepares the receiver, primarily passing the ObjectProvider and potentially the target member information (e.g.
MessageReceiverProcessor
Constructor Detail
MethodReceiverProcessor()Constructor
public function MethodReceiverProcessor(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
targetMethod()method
public function targetMethod(method:Method):void

Sets the target method for this processor.

Parameters

method:Method — the target method for this processor