|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.smaxe.uv.invoker.support.MethodInvoker
public final class MethodInvoker
MethodInvoker - very simple, general and, of course,
inefficient IMethodInvoker implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.smaxe.uv.invoker.IMethodInvoker |
|---|
IMethodInvoker.CallbackAdapter, IMethodInvoker.ICallback |
| Constructor Summary | |
|---|---|
MethodInvoker()
Constructor. |
|
MethodInvoker(java.util.concurrent.Executor executor,
java.lang.String method)
Constructor. |
|
MethodInvoker(java.lang.String method)
Constructor. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodInvoker()
public MethodInvoker(java.lang.String method)
method - class method that returns invocation object
public MethodInvoker(java.util.concurrent.Executor executor,
java.lang.String method)
executor - executor to use for method invocationmethod - class method that returns invocation object| Method Detail |
|---|
public void invoke(java.lang.Object o,
java.lang.String method,
IMethodInvoker.ICallback callback,
java.lang.Object... args)
IMethodInvokermethod with the args of the object o.
The result is returned through the callback.
invoke in interface IMethodInvokero - object which method is invokedmethod - method to invokecallback - callback to receive invocation resultargs - method arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||