ConfigurationManager configurationManager = ConfigurationUtil.getConfigurationManager(kernel);
try {
LinkedHashSet<Artifact> sorted = configurationManager.sort(configs, lifecycleMonitor);
for (Artifact configID : sorted) {
monitor.moduleLoading(configID);
configurationManager.loadConfiguration(configID, lifecycleMonitor);
monitor.moduleLoaded(configID);
monitor.moduleStarting(configID);
configurationManager.startConfiguration(configID, lifecycleMonitor);
monitor.moduleStarted(configID);
}