public final class PublicMethodInvoker extends java.lang.Object implements IMethodInvoker
PublicMethodInvoker
- IMethodInvoker
implementation
which invokes public methods that are not annotated as PrivateMethod
.IMethodInvoker.CallbackAdapter, IMethodInvoker.ICallback
Constructor and Description |
---|
PublicMethodInvoker(java.lang.Class clazz)
Constructor.
|
PublicMethodInvoker(java.util.concurrent.Executor executor,
java.lang.Class clazz)
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 PublicMethodInvoker(java.util.concurrent.Executor executor, java.lang.Class clazz)
executor
- clazz
- public PublicMethodInvoker(java.lang.Class clazz)
clazz
- public void invoke(java.lang.Object o, java.lang.String method, IMethodInvoker.ICallback callback, java.lang.Object... args)
IMethodInvoker
invoke
in interface IMethodInvoker
o
- object which method is invokedmethod
- method to invokecallback
- callback to receive invocation resultargs
- method arguments