public class ReflectiveMethodOperationExecutor<M extends org.mule.runtime.api.meta.model.ComponentModel> extends Object implements org.mule.runtime.extension.api.runtime.operation.ComponentExecutor<M>, OperationArgumentResolverFactory<M>, MuleContextAware, org.mule.runtime.api.lifecycle.Lifecycle
ComponentExecutor which works by using reflection to invoke a method from a class.| Constructor and Description |
|---|
ReflectiveMethodOperationExecutor(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() |
org.reactivestreams.Publisher<Object> |
execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M> executionContext) |
void |
initialise() |
void |
setMuleContext(MuleContext context) |
void |
start() |
void |
stop() |
public org.reactivestreams.Publisher<Object> execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M> executionContext)
execute in interface org.mule.runtime.extension.api.runtime.operation.ComponentExecutor<M extends org.mule.runtime.api.meta.model.ComponentModel>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–2019 MuleSoft, Inc.. All rights reserved.