public void newRepositoryInitializer(RepositoryInitializer ri) {
List<ServiceReference> mkRefs = new ArrayList<ServiceReference>(services.keySet());
for (ServiceReference ref : mkRefs) {
Object service = context.getService(ref);
if (service instanceof ContentRepositoryImpl) {
ContentRepositoryImpl repository = (ContentRepositoryImpl) service;
OakInitializer.initialize(repository.getNodeStore(), ri,
indexEditorProvider);
}
}
}