Packageorg.spicefactory.parsley.core.builder.processor
Classpublic class MethodInvocationProcessor
InheritanceMethodInvocationProcessor Inheritance Object
Implements MethodProcessor

Processor that invokes a method in the target object, potentially resolving references to other objects in the Context for the parameter values.



Public Methods
 MethodDefined By
  
MethodInvocationProcessor(unresolvedParams:Array)
Creates a new processor instance.
MethodInvocationProcessor
  
destroy(target:ManagedObject):void
Invoked when the target instance gets removed from the Context.
MethodInvocationProcessor
  
init(target:ManagedObject):void
Invoked during initialization of the target instance.
MethodInvocationProcessor
  
targetMethod(method:Method):void
Sets the target method for this processor.
MethodInvocationProcessor
Constructor Detail
MethodInvocationProcessor()Constructor
public function MethodInvocationProcessor(unresolvedParams:Array)

Creates a new processor instance.

Parameters
unresolvedParams:Array — the unresolved method parameters
Method Detail
destroy()method
public function destroy(target:ManagedObject):void

Invoked when the target instance gets removed from the Context. Implementations will usually unregister message receivers, unwatch bindings, remove listeners or perform similar disposal tasks.

Parameters

target:ManagedObject — the target instance that is getting removed from the Context

init()method 
public function init(target:ManagedObject):void

Invoked during initialization of the target instance. Implementations will usually set properties, registers message receivers or performs similar configuration tasks for the target instance managed by this processor.

Parameters

target:ManagedObject — the target instance that is getting initialized

targetMethod()method 
public function targetMethod(method:Method):void

Sets the target method for this processor.

Parameters

method:Method — the target method for this processor