Factory configurations (in ConfigAdmin) and ComponentFactory (in DS) do not work together. They are mutually exclusive There can be only one thing in charge of making multiple instances of a component.
It can be either factory configurations (in ConfigAdmin), in which case a component instance is made for each configuration, or ComponentFactory (in DS), in which case a component instance is made for each call to ComponentFactory.newInstance().
--
BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
[email protected]
BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
[email protected]
----- Original message -----
From: Michael Lipp via osgi-dev <[email protected]>
Sent by: [email protected]
To: [email protected]
Cc:
Subject: [EXTERNAL] [osgi-dev] ConfigAdmin and DS Component Factory
Date: Wed, Aug 7, 2019 11:58
Hi,
trying to create DS instances from ConfigAdmin Configurations, I came
across this posting
https://mail.osgi.org/pipermail/osgi-dev/2010-March/002398.html . As the
posting is from 2010, I'd just like to make sure: can somebody please
confirm that this is still true for the current version of DS?
Thanks!
- Michael
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
