SCR will create one component instance per factory configuration. You don't need to do anything special other than use the factory pid as the component pid and create factory configurations in Config Admin.
--
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
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: Scott Lewis <sle...@composent.com>
Sent by: osgi-dev-boun...@mail.osgi.org
To: osgi-dev@mail.osgi.org
Cc:
Subject: Re: [osgi-dev] component factory and configuration
Date: Tue, Nov 22, 2016 12:35 AM
On 11/21/2016 8:11 AM, BJ Hargrave wrote:<stuff deleted>If you want to create a specific number of services each configured by a factory configuration instance, then prototype scopes services are orthogonal to your needs.
If not prototype scope services...for service instances configured by factory configuration instances..then what?
Scott
_______________________________________________
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