Merge "Trigger a GC once initial configuration has been pushed"
[controller.git] / opendaylight / config / config-api / src / main / java / org / opendaylight / controller / config / api / LookupRegistry.java
index 7a3c4bf82d4dec0dbc5e3b43462fa57e29f17ddb..376ecdb52a2f7324a1c5a9d02e2c9dea3f871a80 100644 (file)
@@ -7,10 +7,9 @@
  */
 package org.opendaylight.controller.config.api;
 
-import java.util.Set;
-
 import javax.management.InstanceNotFoundException;
 import javax.management.ObjectName;
+import java.util.Set;
 
 public interface LookupRegistry {
 
@@ -58,4 +57,18 @@ public interface LookupRegistry {
     ObjectName lookupConfigBean(String moduleName, String instanceName)
             throws InstanceNotFoundException;
 
+    /**
+     * Check that object name corresponds with existing module.
+     *
+     * @throws InstanceNotFoundException
+     *             if search did not find exactly one instance
+     */
+    void checkConfigBeanExists(ObjectName objectName) throws InstanceNotFoundException;
+
+
+    /**
+     * @return qNames of all ModuleFactory instances in the system
+     */
+    Set<String> getAvailableModuleFactoryQNames();
+
 }