[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
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. It is probably more straightforward for the instance to be activated first and then registered as a service. The