resolverRegistration = syscontext.registerService(Resolver.class, resolver, null);
return resolver;
}
private Repository registerRepositoryService(final Runtime runtime) {
PropertiesProvider propertyProvider = new RuntimePropertiesProvider(runtime);
Repository repository = new DefaultRepository(propertyProvider);
ModuleContext syscontext = runtime.getModuleContext();
repositoryRegistration = RepositoryRuntimeRegistration.registerRepository(syscontext, repository);
return repository;
}