Move BP xml files to standard OSGI-INF/blueprint
[controller.git] / opendaylight / md-sal / messagebus-impl / src / main / resources / OSGI-INF / blueprint / messagebus.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2017 Inocybe Technologies Inc. and others.  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 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
11            odl:use-default-for-reference-types="true">
12
13   <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
14   <reference id="consumerRegistry" interface="org.opendaylight.mdsal.binding.api.RpcConsumerRegistry"/>
15   <reference id="providerRegistry" interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
16
17   <bean id="eventSourceTopology" class="org.opendaylight.controller.messagebus.app.impl.EventSourceTopology"
18           destroy-method="close">
19     <argument ref="dataBroker"/>
20     <argument ref="providerRegistry"/>
21     <argument ref="consumerRegistry"/>
22   </bean>
23
24   <service ref="eventSourceTopology"
25           interface="org.opendaylight.controller.messagebus.spi.EventSourceRegistry"/>
26 </blueprint>