InterfaceA managedServiceA = (InterfaceA) trackerA.getService();
assertNotNull(managedServiceA);
Filter filter = bundleContext.createFilter("(" + Constants.SERVICE_PID + "=jmx.test.B.factory)");
ServiceTracker trackerMSF = new ServiceTracker(bundleContext, filter, null);
trackerMSF.open();
MSF managedFactory = (MSF) trackerMSF.getService();
assertNotNull(managedFactory);
ServiceTracker tracker = new ServiceTracker(bundleContext, ConfigurationAdmin.class.getName(), null);
tracker.open();