Merge "Fix clustering versions"
[controller.git] / opendaylight / config / config-manager / src / main / java / org / opendaylight / controller / config / manager / impl / ConfigTransactionControllerInternal.java
index 556639c3abb4fa88296aef5195fe6d67a6078b2d..f6164e32561d7ad5688abde93ac6cb4bc96cbec1 100644 (file)
@@ -13,15 +13,17 @@ import java.util.List;
 import javax.management.ObjectName;
 
 import org.opendaylight.controller.config.api.ModuleIdentifier;
+import org.opendaylight.controller.config.api.ServiceReferenceWritableRegistry;
 import org.opendaylight.controller.config.api.ValidationException;
 import org.opendaylight.controller.config.spi.ModuleFactory;
+import org.osgi.framework.BundleContext;
 
 /**
  * Defines contract between {@link ConfigTransactionControllerImpl} (producer)
  * and {@link ConfigRegistryImpl} (consumer).
  */
 interface ConfigTransactionControllerInternal extends
-        ConfigTransactionControllerImplMXBean {
+        ConfigTransactionControllerImplMXBean, AutoCloseable {
 
 
 
@@ -68,4 +70,13 @@ interface ConfigTransactionControllerInternal extends
     boolean isClosed();
 
     List<ModuleFactory> getCurrentlyRegisteredFactories();
+
+    BundleContext getModuleFactoryBundleContext(String factoryName);
+
+    ServiceReferenceWritableRegistry getWritableRegistry();
+
+    TransactionIdentifier getTransactionIdentifier();
+
+    @Override
+    void close();
 }