[
https://issues.apache.org/jira/browse/COMMONSRDF-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14528505#comment-14528505
]
ASF GitHub Bot commented on COMMONSRDF-20:
------------------------------------------
Github user stain commented on a diff in the pull request:
https://github.com/apache/incubator-commonsrdf/pull/12#discussion_r29672342
--- Diff: src/site/markdown/userguide.md.vm ---
@@ -148,6 +148,21 @@ import
org.apache.commons.rdf.simple.SimpleRDFTermFactory;
RDFTermFactory factory = new SimpleRDFTermFactory();
```
+If you don't want to depend up the concret implementation you can use a
+[ServiceLoader](http://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html)
+to lookup instances:
--- End diff --
concret -> concrete
"instances" -> "any implementations found on the classpath."
> Provide a mechanism for allowing the load of different RDF Term Factories
> --------------------------------------------------------------------------
>
> Key: COMMONSRDF-20
> URL: https://issues.apache.org/jira/browse/COMMONSRDF-20
> Project: Apache Commons RDF
> Issue Type: New Feature
> Affects Versions: 0.1
> Reporter: Sergio Fernández
> Fix For: 0.2
>
>
> Benedikt has asked this questions in the mailing list:
> http://markmail.org/message/az4jb744zfct2uq5
> What [we currently
> have|http://commonsrdf.incubator.apache.org/userguide.html#Creating_Commons_RDF_instances]
> remains valid, but would be great to make easier the life of people.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)