| Modifier and Type | Class and Description |
|---|---|
class |
AbstractExecutionContextAdapterDecorator<M extends org.mule.runtime.api.meta.model.ComponentModel>
Base helper class to use when decorating
ExecutionContextAdapters. |
class |
DefaultExecutionContext<M extends org.mule.runtime.api.meta.model.ComponentModel>
Default implementation of
ExecutionContextAdapter which adds additional information which is relevant to this
implementation of the extensions-api, even though it's not part of the API itself |
| Constructor and Description |
|---|
AbstractExecutionContextAdapterDecorator(ExecutionContextAdapter<M> decorated) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.connection.ConnectionHandler<?> |
ExtensionConnectionSupplier.getConnection(ExecutionContextAdapter<? extends org.mule.runtime.api.meta.model.ComponentModel> executionContext)
Returns the connection to be used with the
operationContext. |
| Modifier and Type | Method and Description |
|---|---|
static OAuthConnectionProviderWrapper |
ExtensionsOAuthUtils.getOAuthConnectionProvider(ExecutionContextAdapter operationContext) |
static boolean |
ExtensionsOAuthUtils.refreshTokenIfNecessary(ExecutionContextAdapter<org.mule.runtime.api.meta.model.operation.OperationModel> operationContext,
Throwable e)
Performs a token refresh if the underlying
ConnectionProvider of the given ExecutionContextAdapter knows how
do it and the given Throwable signals a refresh is needed by either being an AccessTokenExpiredException or
by one appearing in the chain of causes. |
| Modifier and Type | Method and Description |
|---|---|
ExecutionContextAdapter |
SdkInternalContext.OperationExecutionParams.getExecutionContextAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
SdkInternalContext.setOperationExecutionParams(org.mule.runtime.api.component.location.ComponentLocation location,
String eventId,
Optional<org.mule.runtime.extension.api.runtime.config.ConfigurationInstance> configuration,
Map<String,Object> parameters,
CoreEvent operationEvent,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback,
ExecutionContextAdapter executionContextAdapter) |
void |
SdkInternalContext.LocationSpecificSdkInternalContext.setOperationExecutionParams(Optional<org.mule.runtime.extension.api.runtime.config.ConfigurationInstance> configuration,
Map<String,Object> parameters,
CoreEvent operationEvent,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback,
ExecutionContextAdapter executionContextAdapter) |
| Constructor and Description |
|---|
OperationExecutionParams(Optional<org.mule.runtime.extension.api.runtime.config.ConfigurationInstance> configuration,
Map<String,Object> parameters,
CoreEvent operationEvent,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback,
ExecutionContextAdapter executionContextAdapter) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionMediator.execute(org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor<M> executor,
ExecutionContextAdapter<M> context,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback)
Coordinates the execution of the
executor using the given context |
void |
DefaultExecutionMediator.execute(org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor<M> executor,
ExecutionContextAdapter<M> context,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback)
Executes the operation per the specification in these classes javadoc
|
protected void |
OAuthOperationMessageProcessor.executeOperation(ExecutionContextAdapter<org.mule.runtime.api.meta.model.operation.OperationModel> operationContext,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback) |
protected void |
ComponentMessageProcessor.executeOperation(ExecutionContextAdapter<T> operationContext,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
CoreEvent |
PayloadTargetReturnDelegate.asReturnValue(Object value,
ExecutionContextAdapter operationContext) |
CoreEvent |
ReturnDelegate.asReturnValue(Object value,
ExecutionContextAdapter operationContext)
Adapts the
value into an CoreEvent |
CoreEvent |
ValueReturnDelegate.asReturnValue(Object value,
ExecutionContextAdapter operationContext)
If the
value is a Message, then a new one is created merging the contents of the returned value with the ones
of the input message. |
CoreEvent |
VoidReturnDelegate.asReturnValue(Object value,
ExecutionContextAdapter operationContext)
Adapts the
value into an CoreEvent |
CoreEvent |
TargetReturnDelegate.asReturnValue(Object value,
ExecutionContextAdapter operationContext) |
protected org.mule.runtime.api.message.Message |
AbstractReturnDelegate.toMessage(Object value,
ExecutionContextAdapter operationContext) |
| Modifier and Type | Method and Description |
|---|---|
Object |
PagingResultTransformer.applyChecked(ExecutionContextAdapter operationContext,
Object value) |
| Constructor and Description |
|---|
PagingProviderProducer(org.mule.runtime.extension.api.runtime.streaming.PagingProvider<Object,T> delegate,
org.mule.runtime.extension.api.runtime.config.ConfigurationInstance config,
ExecutionContextAdapter executionContext,
ExtensionConnectionSupplier extensionConnectionSupplier) |
PagingProviderProducer(org.mule.runtime.extension.api.runtime.streaming.PagingProvider<Object,T> delegate,
org.mule.runtime.extension.api.runtime.config.ConfigurationInstance config,
ExecutionContextAdapter executionContext,
ExtensionConnectionSupplier extensionConnectionSupplier,
boolean supportsOAuth) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ReconnectionUtils.shouldRetry(Throwable t,
ExecutionContextAdapter<?> context) |
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.