Merge "Specify type to NetconfClientDispatcher reference"
[netconf.git] / netconf / netconf-topology-singleton / src / main / resources / org / opendaylight / blueprint / netconf-topology-singleton.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2016 Cisco Systems, Inc. and others. All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
11            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
12            odl:use-default-for-reference-types="true">
13
14     <reference id="dataBroker"
15                interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"/>
16     <reference id="rpcRegistry"
17                interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>
18     <reference id="clusterSingletonService"
19                interface="org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider"/>
20     <reference id="bindingAwareBroker"
21                interface="org.opendaylight.controller.sal.binding.api.BindingAwareBroker"/>
22     <reference id="keepAliveExecutor"
23                interface="org.opendaylight.controller.config.threadpool.ScheduledThreadPool"/>
24     <reference id="processingExecutor"
25                interface="org.opendaylight.controller.config.threadpool.ThreadPool"/>
26     <reference id="domBroker"
27                interface="org.opendaylight.controller.sal.core.api.Broker"/>
28     <reference id="actorSystemProvider"
29                interface="org.opendaylight.controller.cluster.ActorSystemProvider"/>
30     <reference id="eventExecutor"
31                interface="io.netty.util.concurrent.EventExecutor"
32                odl:type="global-event-executor"/>
33     <reference id="clientDispatcherDependency"
34                interface="org.opendaylight.netconf.client.NetconfClientDispatcher"
35                odl:type="netconf-client-dispatcher"/>
36
37     <bean id="netconfTopologyManager"
38           class="org.opendaylight.netconf.topology.singleton.impl.NetconfTopologyManager"
39           init-method="init" destroy-method="close">
40         <argument ref="dataBroker"/>
41         <argument ref="rpcRegistry"/>
42         <argument ref="clusterSingletonService"/>
43         <argument ref="bindingAwareBroker"/>
44         <argument ref="keepAliveExecutor"/>
45         <argument ref="processingExecutor"/>
46         <argument ref="domBroker"/>
47         <argument ref="actorSystemProvider"/>
48         <argument ref="eventExecutor"/>
49         <argument ref="clientDispatcherDependency"/>
50         <argument value="topology-netconf"/>
51     </bean>
52     <service ref="netconfTopologyManager"
53              interface="org.opendaylight.netconf.topology.singleton.api.NetconfTopologySingletonService"/>
54
55 </blueprint>