| Package | org.spicefactory.parsley.messaging.processor |
| Class | public class MethodReceiverProcessor |
| Inheritance | MethodReceiverProcessor MessageReceiverProcessor Object |
| Implements | MethodProcessor |
| Method | Defined By | ||
|---|---|---|---|
MethodReceiverProcessor(factory:Function, scopeName:String)
Creates a new processor factory. | MethodReceiverProcessor | ||
![]() |
Creates a clone of this processor by omitting all
internal state that is tied to one particular target instance. | MessageReceiverProcessor | |
![]() | destroy(target:ManagedObject):void
Invoked when the target instance gets removed from the Context. | MessageReceiverProcessor | |
![]() | destroyBeforeInit(definition:SingletonObjectDefinition):void
Invoked when the Context gets destroyed before the target instance
gets initialized. | MessageReceiverProcessor | |
![]() | init(target:ManagedObject):void
Invoked during initialization of the target instance. | MessageReceiverProcessor | |
![]() | preProcess(definition:SingletonObjectDefinition):void
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 | ||
| MethodReceiverProcessor | () | Constructor |
public function MethodReceiverProcessor(factory:Function, scopeName:String)Creates a new processor factory.
Parametersfactory:Function — the factory that produces new MessageReceiver instances for each target object
| |
scopeName:String — the name of the scope the receivers listen to
|
| targetMethod | () | method |
public function targetMethod(method:Method):voidSets the target method for this processor.
Parameters
method:Method — the target method for this processor
|