Inline dataStreamApplication
[netconf.git] / restconf / restconf-nb / src / main / resources / OSGI-INF / blueprint / restconf-bp.xml
index 9c4a427829e3cb435e3b437e32ec165fcca7d0f0..bf0771166c3c9ad9b1f3a44e403c9714742bc2fc 100644 (file)
     <argument value="${use-sse}" />
   </bean>
 
-  <bean id="dataStreamApplication" class="org.opendaylight.restconf.nb.rfc8040.DataStreamApplication">
-    <argument ref="databindProvider"/>
-    <argument ref="dOMMountPointService"/>
-    <argument ref="restconfDataStreamServiceImpl"/>
-  </bean>
   <bean id="restconfApplication" class="org.opendaylight.restconf.nb.rfc8040.RestconfApplication">
     <argument ref="databindProvider"/>
     <argument ref="dOMMountPointService"/>
     <argument ref="webContextSecurer"/>
     <argument ref="servletSupport"/>
     <argument ref="restconfApplication"/>
-    <argument ref="dataStreamApplication"/>
+    <argument>
+      <bean class="org.opendaylight.restconf.nb.rfc8040.DataStreamApplication">
+        <argument ref="databindProvider"/>
+        <argument ref="dOMMountPointService"/>
+        <argument ref="restconfDataStreamServiceImpl"/>
+      </bean>
+    </argument>
     <argument ref="customFilterAdapterConfiguration"/>
     <argument ref="webSocketInitializer"/>
   </bean>