| Package | org.spicefactory.parsley.processor.core |
| Class | public class MethodProcessor |
| Inheritance | MethodProcessor Object |
| Implements | ObjectProcessor |
| Property | Defined By | ||
|---|---|---|---|
| method : Method [read-only]
The method invoked by this processor. | MethodProcessor | ||
| unresolvedParams : * [read-only]
The unresolved parameters for the method invocation. | MethodProcessor | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new processor instance. | MethodProcessor | ||
[static]
Creates a new processor factory. | MethodProcessor | ||
postDestroy():void
Invoked after the destroy method of the target instance has been invoked. | MethodProcessor | ||
preInit():void
Invoked before the init method of the target instance will be invoked. | MethodProcessor | ||
| method | property |
method:Method [read-only] The method invoked by this processor.
public function get method():Method| unresolvedParams | property |
unresolvedParams:* [read-only]
The unresolved parameters for the method invocation.
Unresolved means that for special objects like references to other
objects in the Context, this will be an instance of ResolvableValue
that merely represents the actual value.
public function get unresolvedParams():*| MethodProcessor | () | Constructor |
public function MethodProcessor(target:ManagedObject, method:Method, unresolvedParams:Array)Creates a new processor instance.
Parameterstarget:ManagedObject — the target to invoke the method on
| |
method:Method — the method to invoke
| |
unresolvedParams:Array — the unresolved method parameters
|
| newFactory | () | method |
public static function newFactory(method:Method, params:Array):ObjectProcessorFactoryCreates a new processor factory.
Parameters
method:Method — the method to invoke
| |
params:Array — the unresolved method parameters
|
ObjectProcessorFactory — a new processor factory
|
| postDestroy | () | method |
public function postDestroy():voidInvoked after the destroy method of the target instance has been invoked. Implementations will usually unregister message receivers, unwatch bindings, remove listeners or perform similar disposal tasks.
| preInit | () | method |
public function preInit():voidInvoked before the init method of the target instance will be invoked. Implementations will usually set properties, registers message receivers or performs similar configuration tasks for the target instance managed by this processor.