public final class MethodInvoker extends java.lang.Object implements IMethodInvoker
MethodInvoker - very simple, general and, of course,
 inefficient IMethodInvoker implementation.IMethodInvoker.CallbackAdapter, IMethodInvoker.ICallback| Constructor and Description | 
|---|
MethodInvoker()
Constructor. 
 | 
MethodInvoker(java.util.concurrent.Executor executor,
             java.lang.String method)
Constructor. 
 | 
MethodInvoker(java.lang.String method)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
invoke(java.lang.Object o,
      java.lang.String method,
      IMethodInvoker.ICallback callback,
      java.lang.Object... args)
Invokes  
method with the args of the object o. | 
public MethodInvoker()
public MethodInvoker(java.lang.String method)
method - class method that returns invocation objectpublic MethodInvoker(java.util.concurrent.Executor executor,
             java.lang.String method)
executor - executor to use for method invocationmethod - class method that returns invocation objectpublic void invoke(java.lang.Object o,
          java.lang.String method,
          IMethodInvoker.ICallback callback,
          java.lang.Object... args)
IMethodInvokerinvoke in interface IMethodInvokero - object which method is invokedmethod - method to invokecallback - callback to receive invocation resultargs - method arguments