public class GeneratedMethodComponentExecutor<M extends org.mule.runtime.api.meta.model.ComponentModel> extends Object implements MuleContextAware, org.mule.runtime.api.lifecycle.Lifecycle, OperationArgumentResolverFactory<M>
| Constructor and Description |
|---|
GeneratedMethodComponentExecutor(List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> groups,
Method method,
Object componentInstance) |
| 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() |
Object |
execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M> executionContext) |
void |
initialise() |
void |
setMuleContext(MuleContext context) |
void |
start() |
void |
stop() |
public Object execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M> executionContext)
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 void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarepublic 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–2024 MuleSoft, Inc.. All rights reserved.