public class NonBlockingCompletableMethodOperationExecutor<M extends org.mule.runtime.api.meta.model.ComponentModel> extends Object
NonBlockingCompletableMethodOperationExecutor which works by using a
GeneratedMethodComponentExecutor| Modifier and Type | Field and Description |
|---|---|
protected GeneratedMethodComponentExecutor<M> |
executor |
| Constructor and Description |
|---|
NonBlockingCompletableMethodOperationExecutor(M operationModel,
Method operationMethod,
Object operationInstance) |
| Modifier and Type | Method and Description |
|---|---|
Function<org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M>,Map<String,Object>> |
createArgumentResolver(M operationModel)
Builds the argument resolver based on an
executionContext and the internal state of this object. |
void |
dispose() |
protected void |
doExecute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M> executionContext,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback) |
void |
execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M> executionContext,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback) |
protected void |
handleError(Throwable t,
ExecutionContextAdapter<M> executionContext,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback) |
void |
initialise() |
void |
start() |
void |
stop() |
protected final GeneratedMethodComponentExecutor<M extends org.mule.runtime.api.meta.model.ComponentModel> executor
protected void doExecute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M> executionContext, org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback)
public final void execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M> executionContext,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback)
execute in interface org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor<M extends org.mule.runtime.api.meta.model.ComponentModel>protected void handleError(Throwable t, ExecutionContextAdapter<M> executionContext, org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback)
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic Function<org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M>,Map<String,Object>> createArgumentResolver(M operationModel)
OperationArgumentResolverFactoryexecutionContext and the internal state of this object.createArgumentResolver in interface OperationArgumentResolverFactory<M extends org.mule.runtime.api.meta.model.ComponentModel>Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.