public FlowArtifactFactory getFlowArtifactFactory() { if (localFlowContext.containsLocalBean("flowArtifactFactory")) { return localFlowContext.getBean("flowArtifactFactory", FlowArtifactFactory.class); } else { return parent.getFlowArtifactFactory(); } }
/** * Factory method that initially creates the flow implementation during flow builder initialization. Simply * delegates to the configured flow artifact factory by default. * @return the flow instance, initially created but not yet built */ protected Flow createFlow() { String id = getContext().getFlowId(); AttributeMap<Object> attributes = getContext().getFlowAttributes(); return getContext().getFlowArtifactFactory().createFlow(id, attributes); }
public FlowArtifactFactory getFlowArtifactFactory() { if (localFlowContext.containsLocalBean("flowArtifactFactory")) { return localFlowContext.getBean("flowArtifactFactory", FlowArtifactFactory.class); } else { return parent.getFlowArtifactFactory(); } }
public FlowArtifactFactory getFlowArtifactFactory() { if (localFlowContext.containsLocalBean("flowArtifactFactory")) { return (FlowArtifactFactory) localFlowContext.getBean("flowArtifactFactory", FlowArtifactFactory.class); } else { return parent.getFlowArtifactFactory(); } }
/** * Factory method that initially creates the flow implementation during flow builder initialization. Simply * delegates to the configured flow artifact factory by default. * @return the flow instance, initially created but not yet built */ protected Flow createFlow() { String id = getContext().getFlowId(); AttributeMap<Object> attributes = getContext().getFlowAttributes(); return getContext().getFlowArtifactFactory().createFlow(id, attributes); }
/** * Factory method that initially creates the flow implementation during flow builder initialization. Simply * delegates to the configured flow artifact factory by default. * @return the flow instance, initially created but not yet built */ protected Flow createFlow() { String id = getContext().getFlowId(); AttributeMap attributes = getContext().getFlowAttributes(); return getContext().getFlowArtifactFactory().createFlow(id, attributes); }