126127128129130131132
BundleContext bundleContext = getBundleContext(context); if (JMXTestRunner.getExecutionType() == ExecutionType.REMOTE) return new RemoteOSGiContainer(bundleContext, testClass); else return new EmbeddedOSGiContainer(bundleContext, testClass); }