T - the type of the class in which the implementing method is declaredpublic final class CompletableOperationExecutorFactory<T,M extends org.mule.runtime.api.meta.model.ComponentModel> extends Object implements org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutorFactory<M>
CompletableComponentExecutorFactory which produces instances of
CompletableMethodOperationExecutor.| Constructor and Description |
|---|
CompletableOperationExecutorFactory(Class<T> implementationClass,
Method operationMethod) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor<M> |
createExecutor(M operationModel,
Map<String,Object> parameters) |
static <C extends org.mule.runtime.api.component.Component & org.mule.runtime.api.lifecycle.Initialisable> |
extractExecutorInitialisationParams(org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.meta.model.ComponentModel componentModel,
Map<String,? extends Object> operationParameters,
C actingComponent,
Optional<org.mule.runtime.extension.api.runtime.config.ConfigurationInstance> staticConfig,
ExtensionManager extensionManager,
ExpressionManager expressionManager,
ReflectionCache reflectionCache)
Receives a
Map with the execution parameters of an operation and returns a new one with the ones that should be used
to initialize it. |
public org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor<M> createExecutor(M operationModel, Map<String,Object> parameters)
createExecutor in interface org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutorFactory<M extends org.mule.runtime.api.meta.model.ComponentModel>public static <C extends org.mule.runtime.api.component.Component & org.mule.runtime.api.lifecycle.Initialisable> Map<String,Object> extractExecutorInitialisationParams(org.mule.runtime.api.meta.model.ExtensionModel extensionModel, org.mule.runtime.api.meta.model.ComponentModel componentModel, Map<String,? extends Object> operationParameters, C actingComponent, Optional<org.mule.runtime.extension.api.runtime.config.ConfigurationInstance> staticConfig, ExtensionManager extensionManager, ExpressionManager expressionManager, ReflectionCache reflectionCache) throws org.mule.runtime.api.lifecycle.InitialisationException
Map with the execution parameters of an operation and returns a new one with the ones that should be used
to initialize it.
This is ONLY valid for extensions written with the Java SDK.
C - the component's generic typeextensionModel - the ExtensionModelcomponentModel - the ComponentModeloperationParameters - the operation's parameters in form of a mapactingComponent - the Component executing the operationstaticConfig - the static ConfigurationInstance if one exists. Use Optional.empty() if no config
or dynamicextensionManager - the ExtensionManagerexpressionManager - the ExtensionManagerreflectionCache - a ReflectionCacheMap with the initialization parametersorg.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.