SimpleLocalOptimiser localOptimiser = new SimpleLocalOptimiser();
List<Optimiser> localOptimisers = new ArrayList<Optimiser>();
AddCandidateExecutionEngines addCandidateExecutionEngines = new AddCandidateExecutionEngines();
addCandidateExecutionEngines.setExecutionEngineRegistry(execEngineRegistry);
ProcessLocalDataSourceAnchors processLocalDataSourceAnchors = new ProcessLocalDataSourceAnchors();
processLocalDataSourceAnchors.setExecutionEngineRegistry(execEngineRegistry);
PropagateExecutionEngineAllocations propagateExecutionEngineAllocations = new PropagateExecutionEngineAllocations();
localOptimisers.add(addCandidateExecutionEngines);
localOptimisers.add(processLocalDataSourceAnchors);