Just to be clear, I thought this:

@Component(
    configurationPid = "com.my.component")
@Designate(
    factory = true,
    ocd       = MyConfig.class)
public class MyComponent
   implements MyComponentInterface
{....}

Was equivalent to this:

@Component(
    factory = "com.my.component")
@Designate(
    ocd  = MyConfig.class)
public class MyComponent
   implements MyComponentInterface
{....}

Is that not the case?  It doesn't appear to be based on my experiment. I didn't 
find the API docs helpful on this.

Regards,

Scott Leschke

From: [email protected] <[email protected]> On Behalf 
Of Leschke, Scott via osgi-dev
Sent: Thursday, September 27, 2018 10:52 AM
To: [email protected]
Subject: [osgi-dev] configurationPid vs factory identifier

How is the factory Identifier to be used in conjunction with configurationPid.  
I thought a factory identifier was to take the place of configurationPid + 
factory = true but that doesn't appear to be the case.

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

Reply via email to