// Create the RepositoryContext that the configuration repository source should use ...
ObservationBus configurationChangeBus = new ObservationBus();
RepositoryContext configContext = new SimpleRepositoryContext(context, configurationChangeBus, null);
final RepositorySource configSource = this.configuration.getRepositorySource();
configSource.initialize(configContext);
// Create the RepositoryService, pointing it to the configuration repository ...
Path pathToConfigurationRoot = this.configuration.getPath();
String configWorkspaceName = this.configuration.getWorkspace();
repositoryService = new RepositoryService(configSource, configWorkspaceName, pathToConfigurationRoot, context, problems);