Class ConsumerFlowElementInvoker
- java.lang.Object
-
- org.ikasan.flow.visitorPattern.invoker.AbstractFlowElementInvoker
-
- org.ikasan.flow.visitorPattern.invoker.ConsumerFlowElementInvoker
-
- All Implemented Interfaces:
org.ikasan.spec.configuration.Configured,org.ikasan.spec.configuration.ConfiguredResource,org.ikasan.spec.flow.FlowElementInvoker<org.ikasan.spec.component.endpoint.Consumer>
public class ConsumerFlowElementInvoker extends AbstractFlowElementInvoker implements org.ikasan.spec.flow.FlowElementInvoker<org.ikasan.spec.component.endpoint.Consumer>
A default implementation of the FlowElementInvoker for a consumer- Author:
- Ikasan Development Team
-
-
Field Summary
-
Fields inherited from class org.ikasan.flow.visitorPattern.invoker.AbstractFlowElementInvoker
configuration, configuredResourceId, flowInvocationContextListeners, ignoreContextInvocation, invokeContextListeners
-
-
Constructor Summary
Constructors Constructor Description ConsumerFlowElementInvoker()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.ikasan.spec.component.transformation.ConvertergetAsConverter(org.ikasan.spec.component.endpoint.Consumer consumer)method to aid testingjava.lang.StringgetInvokerType()org.ikasan.spec.flow.FlowElementinvoke(java.util.List<org.ikasan.spec.flow.FlowEventListener> flowEventListeners, java.lang.String moduleName, java.lang.String flowName, org.ikasan.spec.flow.FlowInvocationContext flowInvocationContext, org.ikasan.spec.flow.FlowEvent flowEvent, org.ikasan.spec.flow.FlowElement<org.ikasan.spec.component.endpoint.Consumer> flowElement)-
Methods inherited from class org.ikasan.flow.visitorPattern.invoker.AbstractFlowElementInvoker
getConfiguration, getConfiguredResourceId, notifyFlowInvocationContextListenersSnapEvent, setConfiguration, setConfiguredResourceId, setFlowInvocationContextListeners, setIgnoreContextInvocation, setInvokeContextListeners
-
-
-
-
Method Detail
-
getInvokerType
public java.lang.String getInvokerType()
- Specified by:
getInvokerTypein interfaceorg.ikasan.spec.flow.FlowElementInvoker<org.ikasan.spec.component.endpoint.Consumer>
-
invoke
public org.ikasan.spec.flow.FlowElement invoke(java.util.List<org.ikasan.spec.flow.FlowEventListener> flowEventListeners, java.lang.String moduleName, java.lang.String flowName, org.ikasan.spec.flow.FlowInvocationContext flowInvocationContext, org.ikasan.spec.flow.FlowEvent flowEvent, org.ikasan.spec.flow.FlowElement<org.ikasan.spec.component.endpoint.Consumer> flowElement)- Specified by:
invokein interfaceorg.ikasan.spec.flow.FlowElementInvoker<org.ikasan.spec.component.endpoint.Consumer>
-
getAsConverter
protected org.ikasan.spec.component.transformation.Converter getAsConverter(org.ikasan.spec.component.endpoint.Consumer consumer)
method to aid testing- Parameters:
consumer-- Returns:
-
-