FELIX-1898 : Extend SCR Plugin to support new updated method declaration. Apply patch by Felix Meschberger
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk/scr-annotations@887955 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 110f346..1372461 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr.annotations</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Annotations for SCR</name>
diff --git a/src/main/java/org/apache/felix/scr/annotations/Reference.java b/src/main/java/org/apache/felix/scr/annotations/Reference.java
index 760b3b9..9db25db 100644
--- a/src/main/java/org/apache/felix/scr/annotations/Reference.java
+++ b/src/main/java/org/apache/felix/scr/annotations/Reference.java
@@ -95,6 +95,12 @@
String unbind() default "";
/**
+ * The name of the method to be called when the bound service updates its
+ * service registration properties. By default this is not set.
+ */
+ String updated() default "";
+
+ /**
* 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}