470471472473474475476477478479480
public Flow connect( FlowDef flowDef ) { FlowPlanner flowPlanner = createFlowPlanner(); flowPlanner.initialize( this, properties ); RuleRegistry ruleRegistry = getRuleRegistry(); return flowPlanner.buildFlow( flowDef, ruleRegistry ); }