props.load(url.openStream());
HashMap<String, Object> map = new HashMap<String, Object>();
for (Entry<Object, Object> entry : props.entrySet()) {
map.put(entry.getKey().toString(), entry.getValue().toString());
}
map.put(FelixConstants.LOG_LOGGER_PROP, new FelixLogger());
// Create the framework instance
Framework framework = new Felix(map);
framework.init();
framework.start();