Merge "BUG-624 make netconf tcp address optional in config.ini with default value...
[controller.git] / opendaylight / config / config-manager / src / main / java / org / opendaylight / controller / config / manager / impl / SearchableServiceReferenceWritableRegistry.java
index 24ddf6362efc866ee894212e6bd3575b177d4f98..4c5e391f74ebbd0147f1eedea77fc9c110999dae 100644 (file)
@@ -8,19 +8,19 @@
 
 package org.opendaylight.controller.config.manager.impl;
 
+import java.util.Map;
 import org.opendaylight.controller.config.api.ModuleIdentifier;
 import org.opendaylight.controller.config.api.ServiceReferenceWritableRegistry;
 import org.opendaylight.controller.config.api.annotations.ServiceInterfaceAnnotation;
 
-import java.util.Map;
-
 public interface SearchableServiceReferenceWritableRegistry extends ServiceReferenceWritableRegistry {
     /**
      * Return mapping between service ref names and service interface annotation for given
      * module.
+     *
      * @throws java.lang.IllegalArgumentException if any of service qNames is not found
-     * @throws java.lang.NullPointerException if parameter is null
+     * @throws java.lang.NullPointerException     if parameter is null
      */
-    Map<String /* service ref */, ServiceInterfaceAnnotation> findServiceInterfaces(ModuleIdentifier moduleIdentifier);
+    Map<ServiceInterfaceAnnotation, String /* service ref name */> findServiceInterfaces(ModuleIdentifier moduleIdentifier);
 
 }