clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [2/3] git commit: Using scr annotation, fixed imports
Date Wed, 04 Dec 2013 14:50:20 GMT
Using scr annotation, fixed imports

Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/84478142
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/84478142
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/84478142

Branch: refs/heads/master
Commit: 844781428867d1c4cc1a13fab972b6eb1e5809a1
Parents: 0036991
Author: retobg <reto@apache.org>
Authored: Wed Dec 4 12:30:26 2013 +0100
Committer: retobg <reto@apache.org>
Committed: Wed Dec 4 12:30:26 2013 +0100

----------------------------------------------------------------------
 .../rdf/jena/sparql/JenaSparqlEngine.java         | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/84478142/rdf.jena.sparql/src/main/java/org/apache/clerezza/rdf/jena/sparql/JenaSparqlEngine.java
----------------------------------------------------------------------
diff --git a/rdf.jena.sparql/src/main/java/org/apache/clerezza/rdf/jena/sparql/JenaSparqlEngine.java
b/rdf.jena.sparql/src/main/java/org/apache/clerezza/rdf/jena/sparql/JenaSparqlEngine.java
index 5dfe7a9..8d9da34 100644
--- a/rdf.jena.sparql/src/main/java/org/apache/clerezza/rdf/jena/sparql/JenaSparqlEngine.java
+++ b/rdf.jena.sparql/src/main/java/org/apache/clerezza/rdf/jena/sparql/JenaSparqlEngine.java
@@ -24,9 +24,6 @@ import java.security.PrivilegedAction;
 import org.apache.clerezza.rdf.core.TripleCollection;
 import org.apache.clerezza.rdf.core.access.TcManager;
 import org.apache.clerezza.rdf.core.sparql.QueryEngine;
-import org.apache.clerezza.rdf.core.sparql.query.AskQuery;
-import org.apache.clerezza.rdf.core.sparql.query.ConstructQuery;
-import org.apache.clerezza.rdf.core.sparql.query.DescribeQuery;
 import org.apache.clerezza.rdf.core.sparql.query.Query;
 import org.apache.clerezza.rdf.jena.storage.JenaGraphAdaptor;
 
@@ -36,20 +33,15 @@ import com.hp.hpl.jena.query.QueryExecException;
 import com.hp.hpl.jena.query.QueryExecution;
 import com.hp.hpl.jena.query.QueryExecutionFactory;
 import com.hp.hpl.jena.query.QueryFactory;
-import com.hp.hpl.jena.sparql.resultset.SPARQLResult;
 import com.hp.hpl.jena.update.GraphStore;
 import com.hp.hpl.jena.update.GraphStoreFactory;
 import com.hp.hpl.jena.update.UpdateAction;
-import com.hp.hpl.jena.update.UpdateFactory;
-import com.hp.hpl.jena.update.UpdateRequest;
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.Service;
 
-/**
- * 
- * @scr.component
- * @scr.service interface="org.apache.clerezza.rdf.core.sparql.QueryEngine"
- * 
- * @author rbn
- */
+
+@Component
+@Service(QueryEngine.class)
 public class JenaSparqlEngine implements QueryEngine {
 
     // ------------------------------------------------------------------------


Mime
View raw message