mmornati / springboot-osgi-sample

OSGi framework integrated into SpringBoot application
Apache License 2.0
38 stars 18 forks source link

feat: using SCR to add services without Activator #4

Closed mmornati closed 3 years ago

mmornati commented 3 years ago

Why? What?

With this PR we are proposing a different way to create a bundle. As proposed in the long (and multiple branch) thread on twiter, when the target is to have bundle just registering Services, the bundle can be simplified using the SCR "pattern": https://enroute.osgi.org/FAQ/300-declarative-services.html

Many thanks for all the precious help on Twitter and from @juergen-albert and @Sandared. This repo is quite impressive to understand how everything is working: https://github.com/Sandared/io.jatoms.osgi.ds