incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
Subject svn commit: r1556527 - in /sling/whiteboard/justin/yamf/org.apache.sling.yamf.api: pom.xml src/main/java/org/apache/sling/yamf/annotations/Filter.java src/main/java/org/apache/sling/yamf/annotations/Source.java
Date Wed, 08 Jan 2014 13:50:04 GMT
Author: justin
Date: Wed Jan  8 13:50:03 2014
New Revision: 1556527

URL: http://svn.apache.org/r1556527
Log:
adding some missing qualifier annotations

Modified:
    sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/pom.xml
    sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/src/main/java/org/apache/sling/yamf/annotations/Filter.java
    sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/src/main/java/org/apache/sling/yamf/annotations/Source.java

Modified: sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/pom.xml
URL: http://svn.apache.org/viewvc/sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/pom.xml?rev=1556527&r1=1556526&r2=1556527&view=diff
==============================================================================
--- sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/pom.xml (original)
+++ sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/pom.xml Wed Jan  8 13:50:03 2014
@@ -43,4 +43,12 @@
             </plugin>
         </plugins>
     </build>
+    <dependencies>
+        <dependency>
+            <groupId>javax.inject</groupId>
+            <artifactId>javax.inject</artifactId>
+            <version>1</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
 </project>

Modified: sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/src/main/java/org/apache/sling/yamf/annotations/Filter.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/src/main/java/org/apache/sling/yamf/annotations/Filter.java?rev=1556527&r1=1556526&r2=1556527&view=diff
==============================================================================
--- sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/src/main/java/org/apache/sling/yamf/annotations/Filter.java
(original)
+++ sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/src/main/java/org/apache/sling/yamf/annotations/Filter.java
Wed Jan  8 13:50:03 2014
@@ -21,12 +21,15 @@ import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
+import javax.inject.Qualifier;
+
 /**
  * Provide a filter on an @Inject.
  */
 @Target({ ElementType.FIELD, ElementType.METHOD })
 @Retention(RetentionPolicy.RUNTIME)
 @Source("osgi-services")
+@Qualifier
 public @interface Filter {
 
     public String value();

Modified: sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/src/main/java/org/apache/sling/yamf/annotations/Source.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/src/main/java/org/apache/sling/yamf/annotations/Source.java?rev=1556527&r1=1556526&r2=1556527&view=diff
==============================================================================
--- sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/src/main/java/org/apache/sling/yamf/annotations/Source.java
(original)
+++ sling/whiteboard/justin/yamf/org.apache.sling.yamf.api/src/main/java/org/apache/sling/yamf/annotations/Source.java
Wed Jan  8 13:50:03 2014
@@ -21,6 +21,8 @@ import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
+import javax.inject.Qualifier;
+
 /**
  * Annotation which indicates the specific injector which will populate this injection.
  * Can also be used as a meta-annotation to declare that some other annotation implies
@@ -28,6 +30,7 @@ import java.lang.annotation.Target;
  */
 @Target({ ElementType.FIELD, ElementType.METHOD, ElementType.ANNOTATION_TYPE })
 @Retention(RetentionPolicy.RUNTIME)
+@Qualifier
 public @interface Source {
 
     String value();



Mime
View raw message