Nov 26th, 2010, 04:40 AM
controllers as osgi services and dynamically HandlerMapping
I have a spring MVC application with a set of controllers. Now i want to isolate them in separat bundles an expose them as services which i want to import to my war.
In my war i had something like <osgi:list ...> in mind, but im not sure how exactly i get the war to dynamically add the services as beans to its context.
Furthermore i have a HandlerMapping in the War which also would require to be dynamically updated. Any suggestions to how this is done?