Re: [osgi-dev] Question about consistency and visibility

2018-08-14 Thread Tim Ward via osgi-dev
> DS guarantees that activate is called before the service is registered and > thus available to others. This is not quite correct (although it is correct for immediate components). The service is registered after it becomes satisfied (all of its mandatory service and configuration

Re: [osgi-dev] Question about consistency and visibility

2018-08-14 Thread Peter Kriens via osgi-dev
Your understanding is correct with respect to the _service_. DS guarantees that activate is called before the service is registered and thus available to others. The service is unregistered before you deactivate is called. Nulling fields is generally unnecessary unless you want to ensure an