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

   Makes the Felix resolver discoverable with `java.util.ServiceLoader`.
   
   - Add a public no-arg `ResolverImpl()` constructor (error-level logging)
   - Register it in `META-INF/services/org.osgi.service.resolver.Resolver`
   - Add `ServiceLoaderTest`
   
   This is a showcase for the proposed OSGi spec change that requires resolvers 
to be discoverable via Java SPI (osgi/org.osgi.service.resolver, PR link to 
follow).
   
   The change is useful independently of that proposal: the spec does not 
forbid it, so it can be merged regardless of the OSGi outcome. Tools can then 
obtain the resolver without OSGi and without referencing the implementation 
class.
   
   No JIRA issue yet; happy to create one if this is accepted.


-- 
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