FELIX-4110 @ServiceProperty and @StaticServiceProperty are missing the immutable attribute

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1490598 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/manipulator/annotations/src/main/java/org/apache/felix/ipojo/annotations/ServiceProperty.java b/ipojo/manipulator/annotations/src/main/java/org/apache/felix/ipojo/annotations/ServiceProperty.java
index 5eed009..5ce5f39 100644
--- a/ipojo/manipulator/annotations/src/main/java/org/apache/felix/ipojo/annotations/ServiceProperty.java
+++ b/ipojo/manipulator/annotations/src/main/java/org/apache/felix/ipojo/annotations/ServiceProperty.java
@@ -40,11 +40,18 @@
      * Default : empty

      */

     String value() default "";

-    

+

     /**

      * Is the property mandatory?

      * Default: false

      */

     boolean mandatory() default false;

 

+    /**

+     * Is the service property immutable ?

+     * An immutable property <b>MUST</b> have a value

+     * Default {@literal false}

+     */

+    boolean immutable() default false;

+

 }

diff --git a/ipojo/manipulator/annotations/src/main/java/org/apache/felix/ipojo/annotations/StaticServiceProperty.java b/ipojo/manipulator/annotations/src/main/java/org/apache/felix/ipojo/annotations/StaticServiceProperty.java
index c3adae1..969725d 100644
--- a/ipojo/manipulator/annotations/src/main/java/org/apache/felix/ipojo/annotations/StaticServiceProperty.java
+++ b/ipojo/manipulator/annotations/src/main/java/org/apache/felix/ipojo/annotations/StaticServiceProperty.java
@@ -51,4 +51,11 @@
      * This value is required only for static properties.

      */

     String type();

+

+    /**

+     * Is the property immutable ?

+     * An immutable property <b>MUST</b> have a value

+     * Default: {@literal false}

+     */

+    boolean immutable() default false;

 }