public final class ReflectiveMethodOperationExecutor extends Object implements org.mule.extension.runtime.OperationExecutor, MuleContextAware, Lifecycle
OperationExecutor which relies on a
executorDelegate and a reference to one of its Methods.
When execute(OperationContext) is invoked, the operationMethod
is invoked over the executorDelegate.
All the Lifecycle events that this instance receives are propagated
to the executorDelegatePHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Object |
execute(org.mule.extension.runtime.OperationContext operationContext) |
void |
initialise() |
void |
setMuleContext(MuleContext context) |
void |
start() |
void |
stop() |
public Object execute(org.mule.extension.runtime.OperationContext operationContext) throws Exception
execute in interface org.mule.extension.runtime.OperationExecutorExceptionpublic void initialise()
throws InitialisationException
initialise in interface InitialisableInitialisationExceptionpublic void start()
throws MuleException
start in interface StartableMuleExceptionpublic void stop()
throws MuleException
stop in interface StoppableMuleExceptionpublic void dispose()
dispose in interface Disposablepublic void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwareCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.