public interface ApiProvider
ApiProvider
interface provides interface and
method introspection and invocation operations for use by API
clients.Modifier and Type | Method and Description |
---|---|
void |
invoke(java.lang.String serviceId,
java.lang.String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle)
Invokes the specified operation using the provided input and
execution context.
|
void invoke(java.lang.String serviceId, java.lang.String operationId, DataValue input, ExecutionContext ctx, AsyncHandle<MethodResult> asyncHandle)
Target method is identified by serviceId
and
operationId
.
serviceId
- identifier of the target serviceoperationId
- identifier of the target operationinput
- operation input parametersctx
- execution context for the invocationasyncHandle
- handle used to asynchronously "return" the result
or error of the invocation