state = State.ACTIVE;
}
private FelixBundleService createFelixBundleService(String pluginsDir) {
if (new File(pluginsDir + File.separator + "use-new-felix").exists()) {
return new NewFelixBundleService(errorMonitor, LOGGER);
}
return new OldFelixBundleService(errorMonitor, LOGGER);
}