/** * Implements BundleActivator.stop(). Does nothing since the framework will automatically * unregister any registered services. * * @param context the framework context for the bundle. */ public void stop(BundleContext context) { for (AutoSIMDeviceConfig deviceConfig : config.devices) { environments.deregisterConnectionFactory(deviceConfig.name); factories.remove(deviceConfig.name); } }