+ value.getClass().getName());
}
values.put(key, refValue);
+ } else if (attribute instanceof ResourceSpecAttribute) {
+ PrimitiveValue primitiveValue = new PrimitiveValue();
+ primitiveValue
+ .setType(((ResourceSpecAttribute) attribute)
+ .getType());
+ primitiveValue.setValue(value);
+ values.put(key, primitiveValue);
} else {
throw new SlcException("Unkown spec attribute type "
+ attribute.getClass());
ExecutionFlowDescriptor efd = new ExecutionFlowDescriptor(name,
values, executionSpec);
+ if (executionFlow.getPath() != null)
+ efd.setPath(executionFlow.getPath());
// Add execution spec if necessary
if (!md.getExecutionSpecs().contains(executionSpec))
.convertValues(executionFlowDescriptor));
ExecutionFlow flow = (ExecutionFlow) applicationContext.getBean(
executionFlowDescriptor.getName(), ExecutionFlow.class);
- flow.execute();
+ flow.run();
}
public void setApplicationContext(ApplicationContext applicationContext)