// create a display for the module
ExecutionDisplayProvider executionDisplayProvider = createExecutionDisplayProvider(executor, module);
executor.setExecutionDisplayProvider(executionDisplayProvider);
// now setup the executor with the provided module
ExecutorInitializer initializer = module.getExecutorInitializer();
if (initializer != null) {
initializer.initialize(executor, module);
}
return executor;
}