Package org.apache.dubbo.rpc.service
Interface GenericService
public interface GenericService
Generic service interface
-
Method Summary
-
Method Details
-
$invoke
Generic invocation- Parameters:
method- Method name, e.g. findPerson. If there are overridden methods, parameter info is required, e.g. findPerson(java.lang.String)parameterTypes- Parameter typesargs- Arguments- Returns:
- invocation return value
- Throws:
GenericException- potential exception thrown from the invocation
-
$invokeAsync
default CompletableFuture<Object> $invokeAsync(String method, String[] parameterTypes, Object[] args) throws GenericException - Throws:
GenericException
-