private static <T> void readServiceDefinitions(Map<ServiceEntry, T> pExtractorMap, String pDefPath) { try { for (String url : ClassUtil.getResources(pDefPath)) { readServiceDefinitionFromUrl(pExtractorMap, url); } } catch (IOException e) { throw new IllegalStateException("Cannot load extractor from " + pDefPath + ": " + e,e); } }
private static <T> void readServiceDefinitions(Map<ServiceEntry, T> pExtractorMap, String pDefPath) { try { for (String url : ClassUtil.getResources(pDefPath)) { readServiceDefinitionFromUrl(pExtractorMap, url); } } catch (IOException e) { throw new IllegalStateException("Cannot load extractor from " + pDefPath + ": " + e,e); } }
private static <T> void readServiceDefinitions(Map<ServiceEntry, T> pExtractorMap, String pDefPath) { try { for (String url : ClassUtil.getResources(pDefPath)) { readServiceDefinitionFromUrl(pExtractorMap, url); } } catch (IOException e) { throw new IllegalStateException("Cannot load extractor from " + pDefPath + ": " + e,e); } }