com.smaxe.me.uv.invoker
Interface IMethodInvoker

All Known Implementing Classes:
MethodInvoker

public interface IMethodInvoker

IMethodInvoker - responsible for the class method invocation.

Author:
Andrei Sochirca

Nested Class Summary
static class IMethodInvoker.CallbackAdapter
          CallbackAdapter - IMethodInvoker.ICallback adapter.
static interface IMethodInvoker.ICallback
          ICallback - IMethodInvoker callback.
 
Method Summary
 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.
 

Method Detail

invoke

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. The result is returned through the callback.

Parameters:
o - object which method is invoked
method - method to invoke
callback - callback to receive invocation result
args - method arguments