Subject: [jira] [Commented] (COMMONSRDF-53) Add
ServiceLoader support in OSGi


ASF GitHub Bot commented on COMMONSRDF-53:

GitHub user acoburn opened a pull request:

[COMMONSRDF-53] Add ServiceLoader support in OSGi

Resolves: COMMONSRDF-53

This adds bundle metadata for the commons-rdf modules to make it easier to
work with the Java `ServiceLoader` in an OSGi context. This consolidates the
OSGi configuration, removing the `commons.osgi.symbolicName` definition and
putting all OSGi-related configuration directly in the `maven-bundle-plugin`
(now that the plugin must be explicitly configured in maven).

You can merge this pull request into a Git repository by running:

$ git pull osgi_serviceloader

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #29

commit 27dbd9eda02550df85734c6198a0308cf5ca55e0
Author: Aaron Coburn <[email protected]>
Date: 2017-01-11T15:11:38Z

Add ServiceLoader support in OSGi


> Add ServiceL...

oader support in OSGi

> ---------------------------------
> URL:
> Project: Apache Commons RDF
> Issue Type: Improvement
> Components: jena, jsonld-java, rdf4j, simple
> Affects Versions: 0.3.0
> Environment: OSGi
> Reporter: Aaron Coburn
> Labels: osgi
> Fix For: 1.0.0
> The ServiceLoader works differently in OSGi environments, such that it is
> necessary to add bundle-level metadata defining which service interfaces are
> provided by a particular OSGi bundle. This would improve OSGi support for
> commons-rdf modules.

This message was sent by Atlassian JIRA

Programming list archiving by: Enterprise Git Hosting