RepositoryConfiguration.TextExtraction extracting ) {
List<Component> extractorComponents = extracting.getTextExtractors(repository.problems());
List<TextExtractor> extractors = new ArrayList<TextExtractor>(extractorComponents.size());
for (Component component : extractorComponents) {
try {
TextExtractor extractor = component.createInstance(TextExtractors.class.getClassLoader());
extractor.setLogger(ExtensionLogger.getLogger(extractor.getClass()));
extractors.add(extractor);
} catch (Throwable t) {
String desc = component.getName();
String repoName = repository.name();
repository.error(t, JcrI18n.unableToInitializeTextExtractor, desc, repoName, t.getMessage());