Move BP xml to OSGI-INF
[bgpcep.git] / config-loader / bmp-monitors-config-loader / src / main / resources / OSGI-INF / blueprint / bmp-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.controller.md.sal.binding.api.DataBroker"
13                odl:type="pingpong"/>
14     <reference id="configLoader" interface="org.opendaylight.bgpcep.config.loader.spi.ConfigLoader"/>
15
16     <bean id="bmpConfigFileProcessor"
17           class="org.opendaylight.bgpcep.config.loader.bmp.BmpMonitorConfigFileProcessor"
18           init-method="init"
19           destroy-method="close">
20         <argument ref="configLoader"/>
21         <argument ref="dataBroker"/>
22     </bean>
23 </blueprint>