M - the generic type of the associated ComponentModelpublic class ReflectiveMethodComponentExecutor<M extends org.mule.runtime.api.meta.model.ComponentModel> extends Object implements MuleContextAware, org.mule.runtime.api.lifecycle.Lifecycle
ExecutionContext by invoking a given Method| Constructor and Description |
|---|
ReflectiveMethodComponentExecutor(List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels,
Method method,
Object componentInstance) |
| Modifier and Type | Method and Description |
|---|---|
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) throws Exception
Exceptionpublic 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–2017 MuleSoft, Inc.. All rights reserved.