public interface GenericService
| Modifier and Type | Method and Description |
|---|---|
Object |
$invoke(String method,
String[] parameterTypes,
Object[] args)
Generic invocation
|
default CompletableFuture<Object> |
$invokeAsync(String method,
String[] parameterTypes,
Object[] args) |
Object $invoke(String method, String[] parameterTypes, Object[] args) throws GenericException
method - Method name, e.g. findPerson. If there are overridden methods, parameter info is
required, e.g. findPerson(java.lang.String)parameterTypes - Parameter typesargs - ArgumentsGenericException - potential exception thrown from the invocationdefault CompletableFuture<Object> $invokeAsync(String method, String[] parameterTypes, Object[] args) throws GenericException
GenericExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.