setupInstaller();
events.clear();
serviceRegistrations.clear();
serviceRegistrations.add(bundleContext.registerService(ConfigurationListener.class.getName(), this, null));
final InstallationListener il = new InstallationListener() {
public void onEvent(InstallationEvent event) {
installationEvents++;
}
};
serviceRegistrations.add(bundleContext.registerService(InstallationListener.class.getName(), il, null));