6f362132c6bc9f253d06d9b133c651ce22f9a62e
[controller.git] / opendaylight / md-sal / mdsal-trace / binding-impl / src / main / resources / org / opendaylight / blueprint / impl-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2016 Red Hat 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:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
12   xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
13   odl:use-default-for-reference-types="true">
14
15   <reference id="tracingDefaultDOMBroker"
16       interface="org.opendaylight.controller.md.sal.trace.api.TracingDOMDataBroker"
17       odl:type="default" />
18
19   <reference id="adapterFactory" interface="org.opendaylight.controller.md.sal.binding.spi.AdapterFactory"/>
20
21   <bean id="tracingBindingDataBroker" factory-ref="adapterFactory" factory-method="createDataBroker">
22     <argument ref="tracingDefaultDOMBroker"/>
23   </bean>
24
25   <service id="tracingBindingDataBrokerSvc" ref="tracingBindingDataBroker"
26             interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
27             odl:type="default" ranking="10"/>
28
29   <reference id="tracingPingPongDOMDataBroker"
30       interface="org.opendaylight.controller.md.sal.trace.api.TracingDOMDataBroker"
31       odl:type="pingpong"/>
32
33   <bean id="bindingTracingPingPongDataBroker" factory-ref="adapterFactory" factory-method="createDataBroker">
34     <argument ref="tracingPingPongDOMDataBroker"/>
35   </bean>
36
37   <service ref="bindingTracingPingPongDataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
38                                                                                     odl:type="pingpong" ranking="10"/>
39 </blueprint>