pderop opened a new pull request, #611:
URL: https://github.com/apache/felix-dev/pull/611

   Motivation:
   
   The multi-property, aspect and adapter filter indices track all services and 
called BundleContext.getService() on each of them, although they only index 
service references. This activates lazy services (SCR delayed components, 
service factories) as soon as they are registered, and keeps their usage count 
positive.
   
   Modification:
   
   The indices now track the ServiceReference itself and no longer get the 
service object. A unit test verifies that getService() is never called.
   
   Result:
   
   Enabling a filter index no longer changes the lifecycle of lazy services.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to