public final class ReflectiveMethodOperationExecutor extends Object implements org.mule.runtime.extension.api.runtime.operation.OperationExecutor, MuleContextAware, org.mule.runtime.api.lifecycle.Lifecycle
OperationExecutor which works by using reflection to invoke
a method from a class.| Constructor and Description |
|---|
ReflectiveMethodOperationExecutor(org.mule.runtime.api.meta.model.operation.OperationModel operationModel,
Method operationMethod,
Object operationInstance) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Object |
execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<org.mule.runtime.api.meta.model.operation.OperationModel> executionContext) |
void |
initialise() |
void |
setMuleContext(MuleContext context) |
void |
start() |
void |
stop() |
public Object execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<org.mule.runtime.api.meta.model.operation.OperationModel> executionContext) throws Exception
execute in interface org.mule.runtime.extension.api.runtime.operation.OperationExecutorExceptionpublic 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 MuleContextAwareCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.