| Package | org.as3commons.reflect |
| Class | public class MethodInvoker |
| 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:Array [read-write]Returns the arguments used by this MethodInvoker.
Implementation public function get arguments():Array
public function set arguments(value:Array):void
| method | property |
method:String [read-write]Returns the method this MethodInvoker is dealing with.
Implementation public function get method():String
public function set method(value:String):void
| namespaceURI | property |
namespaceURI:String [read-write]Implementation
public function get namespaceURI():String
public function set namespaceURI(value:String):void
| target | property |
target:* [read-write]Returns the target of this MethodInvoker.
Implementation public function get target():*
public function set target(value:*):void
| MethodInvoker | () | constructor |
public function MethodInvoker()Creates a new MethodInvoker object.
| invoke | () | method |
public function invoke():*Executes this MethodInvoker.
Returns* |