// There is no projection for the configuration repository, so just use a no-op executor
executor = new NoOpCommandExecutor(context, configurationSourceName);
} else if (configurationProjection.isSimple()) {
// There is just a single projection for the configuration repository, so just use an executor that
// translates the paths using the projection
executor = new SingleProjectionCommandExecutor(context, configurationSourceName, configurationProjection,
connectionFactory);
} else {
// The configuration repository has more than one projection, so we need to merge the results
executor = new FederatingCommandExecutor(context, configurationSourceName, projections, connectionFactory);
}