C - public class MethodInvocable<C> extends Object implements Invocable<C,Object,Object,InvocationException>
| Constructor and Description |
|---|
MethodInvocable(Method method) |
| Modifier and Type | Method and Description |
|---|---|
Class<?>[] |
getParameterTypes() |
Class<Object> |
getReturnType() |
Object |
invoke(C context,
Invocation<Object> invocation,
ExecutorService executorService) |
public MethodInvocable(Method method)
public Object invoke(C context, Invocation<Object> invocation, ExecutorService executorService) throws InvocationException
invoke in interface Invocable<C,Object,Object,InvocationException>invocation - InvocationexecutorService - Executor service for performing asynchronous processing.InvocationExceptionpublic Class<Object> getReturnType()
getReturnType in interface Invocable<C,Object,Object,InvocationException>public Class<?>[] getParameterTypes()
getParameterTypes in interface Invocable<C,Object,Object,InvocationException>