in src/main/java/org/apache/sling/feature/apiregions/impl/RegionConfiguration.java [153:171]
private void loadLocationToConfigMap(BundleContext context) {
File file = context.getBundle().getDataFile(BUNDLE_LOCATION_TO_FEATURE_FILE);
if (file != null && file.exists()) {
Properties p = new Properties();
try (InputStream is = new BufferedInputStream(new FileInputStream(file))) {
p.load(is);
} catch (IOException e) {
Activator.LOG.log(Level.WARNING, "Unable to load " + BUNDLE_LOCATION_TO_FEATURE_FILE, e);
}
for (String k : p.stringPropertyNames()) {
Map.Entry<String, Version> bsnver = parseBSNVer(p.getProperty(k));
if (bsnver != null) {
bundleLocationConfigMap.put(k, bsnver);
}
}
}
}