Re: [osgi-dev] Spec: DS factory component activation

2011-06-05 Thread Daniel Faber
On 04.06.2011 20:57, BJ Hargrave wrote: [...] But the DS impl must never expose the non-activated instance to anyone. Both the caller to newInstance must see an activated instance and anyone getting the registered service must also see an activated instance. In the end, this is the most

Re: [osgi-dev] Spec: DS factory component activation

2011-06-04 Thread Daniel Faber
Thanks for your reply! On 03.06.2011 14:34, BJ Hargrave wrote: For a factory component instance created (and activated) with newInstance, it does not really matter whether the instance is activated before it is registered as a service or not. I don't understand why it doesn't matter. If

Re: [osgi-dev] Spec: DS factory component activation

2011-06-04 Thread BJ Hargrave
For a factory component instance created (and activated) with newInstance, it does not really matter whether the instance is activated before it is registered as a service or not. I don't understand why it doesn't matter. If the instance is registered first, then bundles can retrieve

[osgi-dev] Spec: DS factory component activation

2011-06-03 Thread Daniel Faber
Hello! I read the DS spec in OSGi 4.2 Compendium and I probably didn't understand the following detail about factory components: 112.5.5 says: “The service registration must take place before the component configuration is activated. Service unregistration must take place before the component

Re: [osgi-dev] Spec: DS factory component activation

2011-06-03 Thread BJ Hargrave
@mail.osgi.org Date: 2011/06/03 07:41 Subject:[osgi-dev] Spec: DS factory component activation Sent by:osgi-dev-boun...@mail.osgi.org Hello! I read the DS spec in OSGi 4.2 Compendium and I probably didn't understand the following detail about factory components: 112.5.5 says