apache / celix

Apache Celix is a framework for C and C++14 to develop dynamic modular software applications using component and in-process service-oriented programming.
https://celix.apache.org/
Apache License 2.0
160 stars 85 forks source link

Prototype Service factory #621

Open pnoltes opened 11 months ago

pnoltes commented 11 months ago

Prototype service factory

Add support for registering and using prototype service factories for C and C++. Also add support registering and using bundle service factories for C++.

Background

Chapter 5.9 "Service Factory" of the OSGi 8 spec mentions 3 types of scoped service objects:

Apache Celix currently only supports the singleton scoped services and bundle scoped service factory (note that OSGi spec 5 only has a bundle scoped service factory).