-
- public void execute(ExecutionFlowDescriptor descriptor) {
- ExecutionFlow flow = (ExecutionFlow) applicationContext.getBean(descriptor.getName(),
- ExecutionFlow.class);
- flow.execute();
+
+ public void execute(ExecutionFlowDescriptor executionFlowDescriptor) {
+ if (descriptorConverter != null)
+ executionContext.addVariables(descriptorConverter
+ .convertValues(executionFlowDescriptor));
+ ExecutionFlow flow = (ExecutionFlow) applicationContext.getBean(
+ executionFlowDescriptor.getName(), ExecutionFlow.class);
+ flow.run();