setupConfigPersistenceService(pid, properties);
}
@SuppressWarnings({ "rawtypes", "unchecked" })
private void setupConfigPersistenceService(String pid, Dictionary properties) throws ConfigurationException {
ConfigPersistenceBackendService backendService = retrieveBackendService(properties);
DefaultConfigPersistenceService configPersistenceService = new DefaultConfigPersistenceService(backendService);
Dictionary exportProperties = new Hashtable();
exportProperties.put(Constants.CONFIGURATION_ID, properties.get(Constants.CONFIGURATION_ID));
ServiceRegistration registration =
bundleContext.registerService(ConfigPersistenceService.class.getName(), configPersistenceService,