Refactor OSGi ModuleInfoSnapshot/BindingRuntimeContext
[mdsal.git] / dom / mdsal-dom-schema-osgi / src / main / java / org / opendaylight / mdsal / dom / schema / osgi / impl / RegularYangModuleInfoRegistry.java
index aff0e1f8ea5b34cc66604291f5f31df18046ced2..09d922d4a9966f4ffcd90ec6dc260f17791c00d5 100644 (file)
@@ -97,7 +97,7 @@ final class RegularYangModuleInfoRegistry extends YangModuleInfoRegistry {
 
 
         final ComponentInstance newInstance = contextFactory.newInstance(
-            OSGiEffectiveModelImpl.props(nextGeneration(), newSnapshot));
+            OSGiModuleInfoSnapshotImpl.props(nextGeneration(), newSnapshot));
         if (currentInstance != null) {
             currentInstance.dispose();
         }