Github user rvesse commented on a diff in the pull request:

    https://github.com/apache/jena/pull/197#discussion_r92841380
  
    --- Diff: 
jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionFactory.java
 ---
    @@ -0,0 +1,84 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.jena.rdfconnection;
    +
    +import org.apache.jena.query.Dataset ;
    +import org.apache.jena.system.JenaSystem ;
    +
    +// Pool stuff
    +public class RDFConnectionFactory {
    +    static { JenaSystem.init(); }
    +    
    +    /** Create a connection to a remote location by URL.
    +     * This is the URL for the dataset.
    +     * 
    +     *  This call assumes the names of services as:
    +     *  <ul>
    +     *  <li>SPARQL Query endpoint : "sparql"
    +     *  <li>SPARQL Update endpoint : "update"
    +     *  <li>SPARQL Graph Store Protocol : "data"
    +     *  </ul>
    +     *  These are the default names in <a 
href="http://jena.apache.org/documentation/fuseki2";>Fuseki</a> 
    +     *  Other names can be specificied using {@link #connect(String, 
String, String, String)}
    +     *     
    +     * @param destination
    +     * @return RDFConnection
    +     * @see #connect(String, String, String, String)
    +     */
    +    public static RDFConnection connect(String destination) {
    +        return new RDFConnectionRemote(destination) ;
    +    }
    +
    +    /** Create a connection to a remote location by URL.
    +     * This is the URL for the dataset.
    +     * 
    +     *  This call requires specifying the names of the service.
    +     */ 
    +    public static RDFConnection connect(String queryServiceEndpoint,
    +                                        String updateServiceEndpoint,
    +                                        String graphStoreProtocolEndpoint) 
{
    +        return new RDFConnectionRemote(queryServiceEndpoint, 
updateServiceEndpoint, graphStoreProtocolEndpoint) ;
    +   }
    +
    +    
    +    /** Create a connection to a remote location by URL.
    +     * This is the URL for the dataset.
    +     * 
    +     *  This call requires specifying the names of the servicerelative to 
the dataset URL.
    --- End diff --
    
    Missing space


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to