commit | 104fd02821ba8d93b28a2e85a1f7b628f5b56bc6 | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Thu Jul 02 13:04:52 2009 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Thu Jul 02 13:04:52 2009 +0000 |
tree | a94424ea8b0d6295b6bfd728c54213f9a8140db9 | |
parent | 9a7b16f5b03c7326a430797d976d1fd22a9a6969 [diff] |
FELIX-1294 : Remove checked attribute from reference annotation. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@790577 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr-annotations/src/main/java/org/apache/felix/scr/annotations/PropertyOption.java b/scr-annotations/src/main/java/org/apache/felix/scr/annotations/PropertyOption.java index 6814cc4..1dec2da 100644 --- a/scr-annotations/src/main/java/org/apache/felix/scr/annotations/PropertyOption.java +++ b/scr-annotations/src/main/java/org/apache/felix/scr/annotations/PropertyOption.java
@@ -23,6 +23,7 @@ /** * Defines a {@link Property} option. */ +@Property(options=@PropertyOption(name="you",value="something")) @Target(ElementType.ANNOTATION_TYPE) @Retention(RetentionPolicy.SOURCE) @Documented
diff --git a/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Reference.java b/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Reference.java index 6a7277e..760b3b9 100644 --- a/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Reference.java +++ b/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Reference.java
@@ -95,14 +95,11 @@ String unbind() default ""; /** - * TODO: parameter documentation missing - */ - boolean checked() default false; - - /** - * TODO: parameter documentation missing - * @since 1.0.9 + * The reference strategy for the reference. This can either be + * {@link ReferenceStrategy#EVENT} in which case the bind and unbind + * methods are used or it can be {@link ReferenceStrategy#LOOKUP} + * in which case the reference is looked up through the + * component context. */ ReferenceStrategy strategy() default ReferenceStrategy.EVENT; - }