Hi, I try to figure out how SMX Kernel + Spring DM + Felix + PAX works together during the deployment of a WAR bundle using the command
install mvn:org.apache.camel/example/1.0-SNAPSHOT/war For the simulation, let's say that we have a WAR bundle containing under : - META-INF/spring/ directory a service-osgi.xml spring config file. The service-osgi.xml file contains local beans (that spring must instantiated) and a reference (osgi:reference class="") to bean exposed as a service by another OSGI bundle - WEB-INF/web.xml. Steps : command install --> PAX --> Felix --> Spring DM --> PAX Web --> ???? Question : When the bundle is installed and started, How can a Servlet have access to the BundleContext class of Spring and can retrieve its local spring beans or beans exposed as OSGI:service in another bundle ? Regards, Charles SOA Architect blog: http://cmoulliard.blogspot.com
