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
[email protected]
 
 
----- Original message -----
From: Scott Lewis <[email protected]>
Sent by: [email protected]
To: [email protected]
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
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev
 

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to