* transaction because the individual steps are supposed to manage their own transaction state.
*
* @return a flow step
*/
public Step build() {
FlowStep step = new FlowStep();
step.setName(getName());
step.setFlow(flow);
super.enhance(step);
try {
step.afterPropertiesSet();
}
catch (Exception e) {
throw new StepBuilderException(e);
}
return step;