move trace impl-blueprint.xml DI into TraceBindingBrokerWiring
[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="adapterFactory" interface="org.opendaylight.controller.md.sal.binding.spi.AdapterFactory"/>
16
17   <reference id="tracingDefaultDOMBroker"
18       interface="org.opendaylight.controller.md.sal.trace.api.TracingDOMDataBroker"
19       odl:type="default" />
20
21   <reference id="tracingPingPongDOMDataBroker"
22       interface="org.opendaylight.controller.md.sal.trace.api.TracingDOMDataBroker"
23       odl:type="pingpong"/>
24
25   <bean id="wiring" class="org.opendaylight.controller.md.sal.trace.binding.impl.TracingBindingBrokerWiring">
26     <argument ref="tracingDefaultDOMBroker"/>
27     <argument ref="tracingPingPongDOMDataBroker"/>
28     <argument ref="adapterFactory"/>
29   </bean>
30
31   <bean id="tracingBindingDataBroker" factory-ref="wiring" factory-method="getTracingDataBroker" />
32   <service id="tracingBindingDataBrokerSvc" ref="tracingBindingDataBroker"
33            interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
34            odl:type="default" ranking="10"/>
35
36   <bean id="bindingTracingPingPongDataBroker" factory-ref="wiring" factory-method="getTracingPingPongDataBroker" />
37   <service ref="bindingTracingPingPongDataBroker"
38            interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
39            odl:type="pingpong" ranking="10"/>
40 </blueprint>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.