You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2009/04/06 21:42:03 UTC
svn commit: r762472 - in
/felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations:
Component.java Properties.java Property.java PropertyOption.java
Reference.java References.java Service.java Services.java
Author: cziegeler
Date: Mon Apr 6 19:42:03 2009
New Revision: 762472
URL: http://svn.apache.org/viewvc?rev=762472&view=rev
Log:
FELIX-1010 : Switch back to retention policy RUNTIME; otherwise the plugin is not able to see the annotations.
Modified:
felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Component.java
felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Properties.java
felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Property.java
felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/PropertyOption.java
felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Reference.java
felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/References.java
felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Service.java
felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Services.java
Modified: felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Component.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Component.java?rev=762472&r1=762471&r2=762472&view=diff
==============================================================================
--- felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Component.java (original)
+++ felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Component.java Mon Apr 6 19:42:03 2009
@@ -34,7 +34,7 @@
* </p>
*/
@Target(ElementType.TYPE)
-@Retention(RetentionPolicy.SOURCE)
+@Retention(RetentionPolicy.RUNTIME)
public @interface Component {
/**
Modified: felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Properties.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Properties.java?rev=762472&r1=762471&r2=762472&view=diff
==============================================================================
--- felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Properties.java (original)
+++ felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Properties.java Mon Apr 6 19:42:03 2009
@@ -24,7 +24,7 @@
* Allows to define multiple {@link Property} annotations for one type.
*/
@Target(ElementType.TYPE)
-@Retention(RetentionPolicy.SOURCE)
+@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Properties {
Modified: felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Property.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Property.java?rev=762472&r1=762471&r2=762472&view=diff
==============================================================================
--- felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Property.java (original)
+++ felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Property.java Mon Apr 6 19:42:03 2009
@@ -33,7 +33,7 @@
* OSGi Service Platform Service Compendium Specification for more information.
*/
@Target(ElementType.TYPE)
-@Retention(RetentionPolicy.SOURCE)
+@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Property {
Modified: felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/PropertyOption.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/PropertyOption.java?rev=762472&r1=762471&r2=762472&view=diff
==============================================================================
--- felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/PropertyOption.java (original)
+++ felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/PropertyOption.java Mon Apr 6 19:42:03 2009
@@ -24,7 +24,7 @@
* Defines a {@link Property} option.
*/
@Target(ElementType.ANNOTATION_TYPE)
-@Retention(RetentionPolicy.SOURCE)
+@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PropertyOption {
Modified: felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Reference.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Reference.java?rev=762472&r1=762471&r2=762472&view=diff
==============================================================================
--- felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Reference.java (original)
+++ felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Reference.java Mon Apr 6 19:42:03 2009
@@ -33,7 +33,7 @@
* Service Platform Service Compendium Specification for more information.
*/
@Target( { ElementType.TYPE, ElementType.FIELD })
-@Retention(RetentionPolicy.SOURCE)
+@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Reference {
Modified: felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/References.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/References.java?rev=762472&r1=762471&r2=762472&view=diff
==============================================================================
--- felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/References.java (original)
+++ felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/References.java Mon Apr 6 19:42:03 2009
@@ -24,7 +24,7 @@
* Allows to define multiple {@link Reference} annotations for one type.
*/
@Target(ElementType.TYPE)
-@Retention(RetentionPolicy.SOURCE)
+@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface References {
Modified: felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Service.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Service.java?rev=762472&r1=762471&r2=762472&view=diff
==============================================================================
--- felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Service.java (original)
+++ felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Service.java Mon Apr 6 19:42:03 2009
@@ -30,7 +30,7 @@
* information.
*/
@Target(ElementType.TYPE)
-@Retention(RetentionPolicy.SOURCE)
+@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Service {
Modified: felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Services.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Services.java?rev=762472&r1=762471&r2=762472&view=diff
==============================================================================
--- felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Services.java (original)
+++ felix/trunk/scrplugin-annotations/src/main/java/org/apache/felix/scrplugin/annotations/Services.java Mon Apr 6 19:42:03 2009
@@ -24,7 +24,7 @@
* Allows to define multiple {@link Service} annotations for one type.
*/
@Target(ElementType.TYPE)
-@Retention(RetentionPolicy.SOURCE)
+@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Services {