sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sseif...@apache.org
Subject svn commit: r1680263 - in /sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic: adapter/NoSqlAdapter.java adapter/NoSqlData.java resource/AbstractNoSqlResourceProviderFactory.java
Date Tue, 19 May 2015 12:07:21 GMT
Author: sseifert
Date: Tue May 19 12:07:20 2015
New Revision: 1680263

URL: http://svn.apache.org/r1680263
Log:
add consumer/provider annotations

Modified:
    sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/adapter/NoSqlAdapter.java
    sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/adapter/NoSqlData.java
    sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/resource/AbstractNoSqlResourceProviderFactory.java

Modified: sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/adapter/NoSqlAdapter.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/adapter/NoSqlAdapter.java?rev=1680263&r1=1680262&r2=1680263&view=diff
==============================================================================
--- sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/adapter/NoSqlAdapter.java
(original)
+++ sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/adapter/NoSqlAdapter.java
Tue May 19 12:07:20 2015
@@ -20,9 +20,12 @@ package org.apache.sling.nosql.generic.a
 
 import java.util.Iterator;
 
+import aQute.bnd.annotation.ConsumerType;
+
 /**
  * Adapter for NoSQL databases to be hooked into the Generic NoSQL resource provider.
  */
+@ConsumerType
 public interface NoSqlAdapter {
     
     /**

Modified: sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/adapter/NoSqlData.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/adapter/NoSqlData.java?rev=1680263&r1=1680262&r2=1680263&view=diff
==============================================================================
--- sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/adapter/NoSqlData.java
(original)
+++ sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/adapter/NoSqlData.java
Tue May 19 12:07:20 2015
@@ -21,9 +21,12 @@ package org.apache.sling.nosql.generic.a
 import java.util.HashMap;
 import java.util.Map;
 
+import aQute.bnd.annotation.ProviderType;
+
 /**
  * Wrapper for properties of a NoSQL document for a given path.
  */
+@ProviderType
 public final class NoSqlData {
 
     private final String path;

Modified: sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/resource/AbstractNoSqlResourceProviderFactory.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/resource/AbstractNoSqlResourceProviderFactory.java?rev=1680263&r1=1680262&r2=1680263&view=diff
==============================================================================
--- sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/resource/AbstractNoSqlResourceProviderFactory.java
(original)
+++ sling/whiteboard/sseifert/SLING-4381_nosql/nosql-generic/src/main/java/org/apache/sling/nosql/generic/resource/AbstractNoSqlResourceProviderFactory.java
Tue May 19 12:07:20 2015
@@ -27,10 +27,13 @@ import org.apache.sling.nosql.generic.ad
 import org.apache.sling.nosql.generic.resource.impl.NoSqlResourceProvider;
 import org.osgi.service.event.EventAdmin;
 
+import aQute.bnd.annotation.ConsumerType;
+
 /**
  * Abstract implementation of resource provider factory.
  * NoSQL resource providers implement this, add their own configuration support and and provide
the matching NoSQL adapter implementation.
  */
+@ConsumerType
 public abstract class AbstractNoSqlResourceProviderFactory implements ResourceProviderFactory
{
 
     public final ResourceProvider getResourceProvider(Map<String, Object> authenticationInfo)
throws LoginException {



Mime
View raw message