Factor out SchemaResourceManager
[netconf.git] / netconf / netconf-topology-impl / src / main / resources / OSGI-INF / blueprint / netconf-topology.xml
index e95c26948a8b40d39d0e81d398ae9e0ceae812fe..06b7c198994f65b5bda15810fd74b7d77132b9c2 100644 (file)
                interface="org.opendaylight.aaa.encrypt.AAAEncryptionService" />
     <reference id="deviceActionFactory"
                interface="org.opendaylight.netconf.sal.connect.api.DeviceActionFactory"/>
-
-    <bean id="schemaRepository" class="org.opendaylight.netconf.topology.spi.SharedSchemaRepositoryProvider">
-        <argument value="netconf-topology-schemas"/>
-    </bean>
+    <reference id="schemaManager"
+               interface="org.opendaylight.netconf.sal.connect.api.SchemaResourceManager"/>
 
     <cm:property-placeholder persistent-id="org.opendaylight.netconf.topology.sb.keypair" update-strategy="none">
       <cm:default-properties>
@@ -54,7 +52,7 @@
         <argument ref="eventExecutor"/>
         <argument ref="keepAliveExecutor"/>
         <argument ref="processingExecutor"/>
-        <argument ref="schemaRepository"/>
+        <argument ref="schemaManager"/>
         <argument ref="dataBroker"/>
         <argument ref="mountPointService"/>
         <property name="privateKeyPath" value="${private-key-path}"/>