added a new name attribute, allowing to dynamically configure the service dependency filter/required attributes

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@953575 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/api/ServiceDependency.java b/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/api/ServiceDependency.java
index 7b907aa..602eb71 100644
--- a/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/api/ServiceDependency.java
+++ b/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/api/ServiceDependency.java
@@ -104,4 +104,10 @@
      * </pre></blockquote>
      */
     long timeout() default -1;
+    
+    /**
+     * Sets the dependency name. This attribute is only meaningful when dynamically configuring the dependency 
+     * <code>filter</code> and <code>required</code> flag from the Service's init method.
+     */
+    String name() default "";
 }