public FlowDefinition getFlowDefinition(String flowId) throws NoSuchFlowDefinitionException,
FlowDefinitionConstructionException {
return flow;
}
};
SerializedFlowExecutionSnapshotFactory snapshotFactory = new SerializedFlowExecutionSnapshotFactory(
executionFactory, locator);
repository = new DefaultFlowExecutionRepository(conversationManager, snapshotFactory);
executionFactory.setExecutionKeyFactory(repository);
}