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
hargr...@us.ibm.com
 
 
----- Original message -----
From: Michael Lipp via osgi-dev <osgi-dev@mail.osgi.org>
Sent by: osgi-dev-boun...@mail.osgi.org
To: osgi-dev@mail.osgi.org
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
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev 
 

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to