Migrate to MD-SAL APIs
[bgpcep.git] / config-loader / topology-config-loader / src / main / resources / OSGI-INF / blueprint / topology-config-loader.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
4   ~
5   ~ This program and the accompanying materials are made available under the
6   ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
7   ~ and is available at http://www.eclipse.org/legal/epl-v10.html
8   -->
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     <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker" odl:type="default"/>
13     <reference id="configLoader" interface="org.opendaylight.bgpcep.config.loader.spi.ConfigLoader"/>
14
15     <bean id="topologyConfigLoader"
16           class="org.opendaylight.bgpcep.config.loader.topology.NetworkTopologyConfigFileProcessor"
17           init-method="init"
18           destroy-method="close">
19         <argument ref="configLoader"/>
20         <argument ref="dataBroker"/>
21     </bean>
22 </blueprint>