| Modifier and Type | Method and Description |
|---|---|
static ExecutionContext |
Activations.newExecutionContext()
Creates a new execution context with an activation identifier, generated
by
Activations.newActivationId(). |
static ExecutionContext |
Activations.newExecutionContext(String activationId)
Creates a new execution context with the specified activation
identifier.
|
static ExecutionContext |
Activations.setActivationId(ExecutionContext ctx,
String activationId)
Creates a copy of the specified execution context with the specified
activation identifier.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Activations.getActivationId(ExecutionContext executionContext)
Retrieves an activation identifier from the specified context.
|
static ExecutionContext |
Activations.setActivationId(ExecutionContext ctx,
String activationId)
Creates a copy of the specified execution context with the specified
activation identifier.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutionContext |
RetryPolicy.RetryContext.getExecutionContext() |
ExecutionContext |
InvocationConfig.getExecutionContext()
Returns the execution context associated with this configuration.
|
| Constructor and Description |
|---|
InvocationConfig(ExecutionContext executionContext)
Creates a configuration object which provides an execution context to a
method invocation.
|
RetryContext(String serviceId,
String operationId,
ExecutionContext executionContext,
StructValue input)
Creates a context.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutionContext |
InvocationContext.getExecutionContext() |
| Modifier and Type | Method and Description |
|---|---|
ExecutionContext |
InvocationContextImpl.getExecutionContext() |
| Constructor and Description |
|---|
InvocationContextImpl(ExecutionContext executionContext) |
InvocationContextImpl(ExecutionContext executionContext,
boolean isTask) |
| Modifier and Type | Method and Description |
|---|---|
void |
DynamicAuthnFilter.invoke(String service,
String operation,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle)
Invokes the decorated provider and in case of
Unauthenticated
error retries the request with refreshed ExecutionContext.SecurityContext. |
protected void |
DynamicAuthnFilter.invokeNext(String service,
String operation,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> handle) |
| Modifier and Type | Field and Description |
|---|---|
static ExecutionContext |
ExecutionContext.EMPTY
Empty context
|
| Modifier and Type | Method and Description |
|---|---|
ExecutionContext |
ExecutionContext.Builder.build() |
ExecutionContext |
ExecutionContext.withApplicationData(ExecutionContext.ApplicationData appData)
Returns a new
ExecutionContext instance with replaced application
data |
ExecutionContext |
ExecutionContext.withSecurityContext(ExecutionContext.SecurityContext secCtx)
Returns a new
ExecutionContext instance with replaced security
context |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionContext.Builder |
ExecutionContext.Builder.from(ExecutionContext ec)
Initializes the builder with existing
ExecutionContext data. |
ProviderDefinition |
ApiProviderStubImpl.getDefinition(ExecutionContext ctx) |
void |
ApiProviderStubImpl.getDefinition(ExecutionContext ctx,
AsyncHandle<ProviderDefinition> asyncHandle) |
InterfaceDefinition |
ApiProviderStubImpl.getInterface(ExecutionContext ctx,
InterfaceIdentifier iface) |
void |
ApiProviderStubImpl.getInterface(ExecutionContext ctx,
InterfaceIdentifier iface,
AsyncHandle<InterfaceDefinition> asyncHandle) |
Set<InterfaceIdentifier> |
ApiProviderStubImpl.getInterfaceIdentifiers(ExecutionContext ctx) |
void |
ApiProviderStubImpl.getInterfaceIdentifiers(ExecutionContext ctx,
AsyncHandle<Set<InterfaceIdentifier>> asyncHandle) |
MethodDefinition |
ApiProviderStubImpl.getMethod(ExecutionContext ctx,
MethodIdentifier method) |
void |
ApiProviderStubImpl.getMethod(ExecutionContext ctx,
MethodIdentifier method,
AsyncHandle<MethodDefinition> asyncHandle) |
MethodResult |
SyncApiProvider.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx)
Invokes the specified operation using the provided input and
execution context.
|
MethodResult |
ApiProviderStubImpl.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx)
Synchronous variant of
ApiProviderStubImpl.invoke(String, String, DataValue, ExecutionContext, AsyncHandle) |
void |
DecoratorApiProvider.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
void |
ApiProviderStubImpl.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
void |
ApiProvider.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle)
Invokes the specified operation using the provided input and
execution context.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
LogDiagnosticUtil.getDiagnosticContext(ExecutionContext ctx)
Extracts log disgnostic context from
ExecutionContext. |
| Modifier and Type | Method and Description |
|---|---|
ExecutionContext |
RequestProcessor.Request.getCtx() |
| Constructor and Description |
|---|
Request(String serviceId,
String operationId,
ExecutionContext ctx,
DataValue input) |
| Modifier and Type | Method and Description |
|---|---|
com.vmware.vapi.internal.protocol.client.rpc.HttpRequest |
RequestPreProcessor.handle(String serviceId,
String operationId,
com.vmware.vapi.internal.protocol.client.rpc.HttpRequest request,
DataValue params,
ExecutionContext executionContext)
Pre-process
HttpRequest before sending it to the caller. |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiMethodBasedApiInterface.invoke(ExecutionContext ctx,
MethodIdentifier methodId,
DataValue input,
AsyncHandle<MethodResult> asyncHandle) |
void |
ApiInterface.invoke(ExecutionContext ctx,
MethodIdentifier methodId,
DataValue input,
AsyncHandle<MethodResult> asyncHandle)
Invokes a method and returns the result of that method invocation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApiAggregator.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
| Modifier and Type | Method and Description |
|---|---|
ProviderDefinition |
SyncApiIntrospection.getDefinition(ExecutionContext ctx)
Returns the definition for this API provider.
|
void |
ApiIntrospection.getDefinition(ExecutionContext ctx,
AsyncHandle<ProviderDefinition> asyncHandle)
Returns the definition for this API provider.
|
InterfaceDefinition |
SyncApiIntrospection.getInterface(ExecutionContext ctx,
InterfaceIdentifier ifaceId)
Returns interface definition for a given interface identifier.
|
void |
ApiIntrospection.getInterface(ExecutionContext ctx,
InterfaceIdentifier ifaceId,
AsyncHandle<InterfaceDefinition> asyncHandle)
Returns interface definition for a given interface identifier.
|
Set<InterfaceIdentifier> |
SyncApiIntrospection.getInterfaceIdentifiers(ExecutionContext ctx)
Returns the set of interface identifiers supported by this provider.
|
void |
ApiIntrospection.getInterfaceIdentifiers(ExecutionContext ctx,
AsyncHandle<Set<InterfaceIdentifier>> asyncHandle)
Returns the set of interface identifiers supported by this provider.
|
MethodDefinition |
SyncApiIntrospection.getMethod(ExecutionContext ctx,
MethodIdentifier methodId)
Returns method definitions for a given method identifier.
|
void |
ApiIntrospection.getMethod(ExecutionContext ctx,
MethodIdentifier methodId,
AsyncHandle<MethodDefinition> asyncHandle)
Returns method definitions for a given method identifier.
|
void |
ErrorAugmentingFilter.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
| Modifier and Type | Method and Description |
|---|---|
ProviderDefinition |
LocalProvider.getDefinition(ExecutionContext ctx) |
InterfaceDefinition |
LocalProvider.getInterface(ExecutionContext ctx,
InterfaceIdentifier iface) |
Set<InterfaceIdentifier> |
LocalProvider.getInterfaceIdentifiers(ExecutionContext ctx) |
MethodDefinition |
LocalProvider.getMethod(ExecutionContext ctx,
MethodIdentifier methodId) |
void |
LocalProvider.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticationFilter.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
ActivationFilter.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
Copyright © 2022. All rights reserved.