restart-dependents-on-updates=false for CONTROLLER-1809
[controller.git] / opendaylight / md-sal / sal-dom-broker / src / main / resources / org / opendaylight / blueprint / dom-broker.xml
index b7d4d5dd22639766bf26be7b94bc200a40b51338..d86c8232fcb712b7f1d0e16fa68b96d6edb0fc20 100644 (file)
@@ -2,7 +2,7 @@
 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
            xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
-    odl:restart-dependents-on-updates="true">
+    odl:restart-dependents-on-updates="false">
 
   <cm:property-placeholder persistent-id="org.opendaylight.mdsal.dom.notification" update-strategy="none">
     <cm:default-properties>
 
   <!-- Schema Service -->
 
-  <bean id="schemaServiceImpl" class="org.opendaylight.controller.sal.dom.broker.GlobalBundleScanningSchemaServiceImpl"
-          factory-method="getInstance" />
-
-  <service ref="schemaServiceImpl">
-    <interfaces>
-      <value>org.opendaylight.controller.sal.core.api.model.SchemaService</value>
-      <value>org.opendaylight.controller.sal.core.api.model.YangTextSourceProvider</value>
-    </interfaces>
-  </service>
+  <odl:static-reference id="schemaService" interface="org.opendaylight.controller.sal.core.api.model.SchemaService"/>
 
   <!-- DOM Notification Service -->
 
@@ -46,7 +38,7 @@
 
   <bean id="domRpcRouter" class="org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter"
           factory-method="newInstance">
-    <argument ref="schemaServiceImpl"/>
+    <argument ref="schemaService"/>
   </bean>
 
   <service ref="domRpcRouter" odl:type="default">