Inline serverChannelInitializer
[netconf.git] / netconf / mdsal-netconf-impl / src / main / resources / OSGI-INF / blueprint / mdsal-netconf-impl.xml
index eb8f650feefd65242862471288d4c311a7326775..288991df5f532795269caefa4aa877b63072de4b 100644 (file)
         </argument>
     </bean>
 
-    <bean id="serverChannelInitializer"
-          class="org.opendaylight.netconf.impl.ServerChannelInitializer">
+    <bean id="netconfServerDispatcherImpl"
+          class="org.opendaylight.netconf.impl.NetconfServerDispatcherImpl">
         <argument>
-            <bean class="org.opendaylight.netconf.impl.NetconfServerSessionNegotiatorFactory">
-                <argument ref="global-timer"/>
-                <argument ref="aggregatedNetconfOperationServiceFactoryMappers"/>
-                <argument ref="sessionIdProvider"/>
-                <argument value="${connection-timeout-millis}"/>
-                <argument ref="netconfMonitoringService"/>
+            <bean class="org.opendaylight.netconf.impl.ServerChannelInitializer">
+                <argument>
+                    <bean class="org.opendaylight.netconf.impl.NetconfServerSessionNegotiatorFactory">
+                        <argument ref="global-timer"/>
+                        <argument ref="aggregatedNetconfOperationServiceFactoryMappers"/>
+                        <argument ref="sessionIdProvider"/>
+                        <argument value="${connection-timeout-millis}"/>
+                        <argument ref="netconfMonitoringService"/>
+                    </bean>
+                </argument>
             </bean>
         </argument>
-    </bean>
-
-    <bean id="netconfServerDispatcherImpl"
-          class="org.opendaylight.netconf.impl.NetconfServerDispatcherImpl">
-        <argument ref="serverChannelInitializer"/>
         <argument ref="globalBossGroup"/>
         <argument ref="globalWorkerGroup"/>
     </bean>