public class OAuthOperationMessageProcessor extends OperationMessageProcessor
OperationMessageProcessor for operations which might be running
with an OAuth enabled ConnectionProvider.
If handles AccessTokenExpiredExceptions and executes the refresh token flow
and retries accordingly.
If the operation was not configured with an OAuth enabled connection provider, then it behaves the same as its parent class
ReactiveProcessor.ProcessingTypecomponentExecutor, executionMediator, extensionModel, policyManager, resolverSet, retryPolicyTemplate, returnDelegate, target, targetValuecacheIdGenerator, classLoader, componentLocator, componentModel, connectionManager, cursorProviderFactory, errorTypeRepository, expressionManager, extensionManager, metadataService, muleContext, streamingManager, transactionFactoryLocator| Constructor and Description |
|---|
OAuthOperationMessageProcessor(org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.meta.model.operation.OperationModel operationModel,
org.mule.runtime.extension.api.runtime.config.ConfigurationProvider configurationProvider,
String target,
String targetValue,
ResolverSet resolverSet,
CursorProviderFactory cursorProviderFactory,
RetryPolicyTemplate retryPolicyTemplate,
ExtensionManager extensionManager,
PolicyManager policyManager,
ReflectionCache reflectionCache,
DefaultExecutionMediator.ResultTransformer resultTransformer,
long outerFluxTerminationTimeout) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeOperation(ExecutionContextAdapter<org.mule.runtime.api.meta.model.operation.OperationModel> operationContext,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback) |
getEntityKeys, getEntityMetadata, getInnerProcessingType, isAsync, validateOperationConfigurationapply, createExecutionMediator, createInterceptorChain, createReturnDelegate, disposeResolvedParameters, doDispose, doInitialise, doStart, doStop, getParameterValueResolver, getProcessingType, getTargetReturnDelegate, getValueReturnDelegate, isTargetPresent, process, resolveParameters, toStringdispose, getConfiguration, getConfigurationProvider, getCursorProviderFactory, getErrorMappings, getExtensionModel, getMetadata, getMetadata, getMetadataKeys, getModels, getStaticConfiguration, getValues, initialise, requiresConfig, runWithMetadataContext, setAnnotations, setCacheIdGeneratorFactory, setComponentLocator, setMuleContext, start, stop, usesDynamicConfigurationgetAnnotation, getAnnotations, getDslSource, getIdentifier, getLocation, getRepresentation, getRootContainerLocation, initRootContainerNamepublic OAuthOperationMessageProcessor(org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.meta.model.operation.OperationModel operationModel,
org.mule.runtime.extension.api.runtime.config.ConfigurationProvider configurationProvider,
String target,
String targetValue,
ResolverSet resolverSet,
CursorProviderFactory cursorProviderFactory,
RetryPolicyTemplate retryPolicyTemplate,
ExtensionManager extensionManager,
PolicyManager policyManager,
ReflectionCache reflectionCache,
DefaultExecutionMediator.ResultTransformer resultTransformer,
long outerFluxTerminationTimeout)
protected void executeOperation(ExecutionContextAdapter<org.mule.runtime.api.meta.model.operation.OperationModel> operationContext, org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback)
executeOperation in class ComponentMessageProcessor<org.mule.runtime.api.meta.model.operation.OperationModel>Copyright © 2003–2020 MuleSoft, Inc.. All rights reserved.