| Package | org.as3commons.reflect |
| Class | public class MethodInvoker |
| Inheritance | MethodInvoker Object |
| Implements | INamespaceOwner |
var invoker:MethodInvoker = new MethodInvoker();
invoker.target = myInstance;
invoker.method = "aMethod";
invoker.arguments = ["arg1", 123, true];
var result:= invoker.invoke();
| Property | Defined By | ||
|---|---|---|---|
| arguments : Array
Returns the arguments used by this MethodInvoker. | MethodInvoker | ||
| method : String
Returns the method this MethodInvoker is dealing with. | MethodInvoker | ||
| namespaceURI : String | MethodInvoker | ||
| target : *
Returns the target of this MethodInvoker. | MethodInvoker | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new MethodInvoker object. | MethodInvoker | ||
invoke():*
Executes this MethodInvoker. | MethodInvoker | ||
| arguments | property |
arguments:ArrayReturns the arguments used by this MethodInvoker.
public function get arguments():Array public function set arguments(value:Array):void| method | property |
method:StringReturns the method this MethodInvoker is dealing with.
public function get method():String public function set method(value:String):void| namespaceURI | property |
namespaceURI:String public function get namespaceURI():String public function set namespaceURI(value:String):void| target | property |
target:*Returns the target of this MethodInvoker.
public function get target():* public function set target(value:any):void| MethodInvoker | () | Constructor |
public function MethodInvoker()Creates a new MethodInvoker object.
| invoke | () | method |
public function invoke():*Executes this MethodInvoker.
Returns* |