Add service reference binding to config registry.
[controller.git] / opendaylight / config / config-api / src / main / java / org / opendaylight / controller / config / api / annotations / ServiceInterfaceAnnotation.java
index a81d992d81ae1cbae4d711e9a18be194524eba71..e66de46520a11741e42c4cf72049ff6d18d2b0df 100644 (file)
@@ -23,8 +23,9 @@ import java.lang.annotation.Target;
 public @interface ServiceInterfaceAnnotation {
 
     /**
-     * Specifies human readable name of this service. Each service name should
-     * be globally unique. Should not contain spaces.
+     * Fully qualified name of a service that must be globally unique.
+     * When generating service interfaces from yang, this will be QName of
+     * identity extending service-type.
      */
     String value();
 
@@ -34,4 +35,19 @@ public @interface ServiceInterfaceAnnotation {
      * is called.
      */
     Class<?> osgiRegistrationType();
+
+    /**
+     * Get namespace of {@link #value()}
+     */
+    String namespace();
+
+    /**
+     * Get revision of {@link #value()}
+     */
+    String revision();
+
+    /**
+     * Get local name of {@link #value()}
+     */
+    String localName();
 }