annotation based bean config in Spring DM osgi aware application context

377 Views Asked by At

spring dm has its own OSGi specific application context Osgi-BundleXmlApplicationContext.The OsgiBundleXmlApplicationContext class implements all OSGi-specific behaviors required for proper Spring application context startup. Spring DM uses it for standard OSGi bundles and turns to its little sister, OsgiBundleXmlWebApplicationContext, for web OSGi bundles

what i have seen/tried in other examples and spring dm documentation is that bean configurations for spring powered osgi bundle is done in xml, i already have a spring boot app which is annotation based.

can i convert this spring boot to spring powered osgi bundle?

0

There are 0 best solutions below