+ // GenericApplicationContext context = new
+ // GenericApplicationContext();
+ // XmlBeanDefinitionReader xmlReader = new XmlBeanDefinitionReader(
+ // context);
+ // Bundle[] bundles = felix.getBundleContext().getBundles();
+ // for (int i = 0; i < bundles.length; i++) {
+ // Bundle bundle = bundles[i];
+ // URL url = bundle
+ // .getResource("META-INF/slc/conf/applicationContext.xml");
+ // if (url != null) {
+ // System.out.println("Loads application context from bundle "
+ // + bundle.getSymbolicName());
+ // xmlReader.loadBeanDefinitions(new UrlResource(url));
+ // }
+ // }
+