Remove BindingToNormalizedNodeCodec service export
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / resources / OSGI-INF / blueprint / binding-broker.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
4
5   <reference id="classLoadingStrategy" interface="org.opendaylight.mdsal.binding.generator.api.ClassLoadingStrategy" />
6   <reference id="schemaService" interface="org.opendaylight.mdsal.dom.api.DOMSchemaService" />
7   <reference id="domRpcService" interface="org.opendaylight.controller.md.sal.dom.api.DOMRpcService"/>
8   <reference id="domRpcRegistry" interface="org.opendaylight.controller.md.sal.dom.api.DOMRpcProviderService"/>
9   <reference id="domMountPointService" interface="org.opendaylight.controller.md.sal.dom.api.DOMMountPointService"/>
10   <reference id="domNotificationService" interface="org.opendaylight.controller.md.sal.dom.api.DOMNotificationService"/>
11   <reference id="domNotificationPublishService" interface="org.opendaylight.controller.md.sal.dom.api.DOMNotificationPublishService"/>
12   <reference id="domNotificationListenerRegistry" interface="org.opendaylight.controller.md.sal.dom.spi.DOMNotificationSubscriptionListenerRegistry"/>
13   <reference id="domDefaultDataBroker" interface="org.opendaylight.controller.md.sal.dom.api.DOMDataBroker"
14           odl:type="default"/>
15   <reference id="domPingPongDataBroker" interface="org.opendaylight.controller.md.sal.dom.api.DOMDataBroker"
16           odl:type="pingpong"/>
17
18   <bean id="wiring" class="org.opendaylight.controller.md.sal.binding.impl.BindingBrokerWiring">
19     <argument ref="classLoadingStrategy"/>
20     <argument ref="schemaService"/>
21     <argument ref="domRpcService"/>
22     <argument ref="domRpcRegistry"/>
23     <argument ref="domMountPointService"/>
24     <argument ref="domNotificationService"/>
25     <argument ref="domNotificationPublishService"/>
26     <argument ref="domNotificationListenerRegistry"/>
27     <argument ref="domDefaultDataBroker"/>
28     <argument ref="domPingPongDataBroker"/>
29   </bean>
30
31   <!-- Runtime binding/normalized mapping service -->
32
33   <bean id="mappingCodec" factory-ref="wiring" factory-method="getBindingToNormalizedNodeCodec" />
34
35   <service ref="mappingCodec" odl:type="default">
36     <interfaces>
37       <value>org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer</value>
38       <value>org.opendaylight.mdsal.binding.dom.codec.api.BindingCodecTreeFactory</value>
39     </interfaces>
40   </service>
41
42   <!-- Adapter service -->
43   <bean id="adapterFactory" factory-ref="wiring" factory-method="getAdapterFactory" />
44
45   <service id="factory" ref="adapterFactory">
46     <interfaces>
47       <value>org.opendaylight.controller.md.sal.binding.spi.AdapterFactory</value>
48     </interfaces>
49   </service>
50
51   <!-- Binding RPC Registry Service -->
52
53   <bean id="bindingRpcRegistry" factory-ref="wiring" factory-method="getRpcProviderRegistry" />
54
55   <service ref="bindingRpcRegistry" interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"
56           odl:type="default"/>
57
58   <!-- Binding MountPoint Service -->
59
60   <bean id="bindingMountPointService" factory-ref="wiring" factory-method="getMountPointService" />
61
62   <service ref="bindingMountPointService" interface="org.opendaylight.controller.md.sal.binding.api.MountPointService"
63           odl:type="default"/>
64
65   <!-- Binding Notification Service -->
66
67   <bean id="bindingNotificationServiceAdapter" factory-ref="wiring" factory-method="getNotificationService" />
68   <service ref="bindingNotificationServiceAdapter" interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"
69           odl:type="default"/>
70
71   <bean id="bindingNotificationPublishAdapter" factory-ref="wiring" factory-method="getNotificationPublishService" />
72   <service ref="bindingNotificationPublishAdapter" interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"
73           odl:type="default"/>
74
75   <bean id="notificationProviderService" factory-ref="wiring" factory-method="getNotificationProviderService" />
76   <service ref="notificationProviderService" interface="org.opendaylight.controller.sal.binding.api.NotificationProviderService" odl:type="default" />
77
78   <bean id="deprecatedNotificationService" factory-ref="wiring" factory-method="getNotificationProviderService" />
79   <service ref="deprecatedNotificationService" interface="org.opendaylight.controller.sal.binding.api.NotificationService" odl:type="default" />
80
81   <!-- Binding DataBroker -->
82
83   <bean id="bindingDataBroker" factory-ref="wiring" factory-method="getDataBroker" />
84
85   <service ref="bindingDataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
86           odl:type="default"/>
87
88   <!-- Binding PingPong DataBroker -->
89
90   <bean id="bindingPingPongDataBroker" factory-ref="wiring" factory-method="getPingPongDataBroker" />
91
92   <service ref="bindingPingPongDataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
93           odl:type="pingpong"/>
94
95   <!-- Legacy BindingAwareBroker -->
96
97   <bean id="bindingNotificationProviderService" class="org.opendaylight.controller.md.sal.binding.compat.HeliumNotificationProviderServiceWithInterestListeners">
98     <argument ref="bindingNotificationPublishAdapter"/>
99     <argument ref="bindingNotificationServiceAdapter"/>
100     <argument ref="domNotificationListenerRegistry"/>
101   </bean>
102
103   <bean id="bindingAwareBroker" class="org.opendaylight.controller.sal.binding.impl.RootBindingAwareBroker"
104       init-method="start" destroy-method="close">
105     <argument value="deprecated-BindingAwareBroker"/>
106     <property name="dataBroker" ref="bindingDataBroker"/>
107     <property name="mountService" ref="bindingMountPointService"/>
108     <property name="rpcBroker" ref="bindingRpcRegistry"/>
109     <property name="notificationBroker" ref="bindingNotificationProviderService"/>
110     <property name="notificationPublishService" ref="bindingNotificationPublishAdapter"/>
111   </bean>
112
113   <service ref="bindingAwareBroker" interface="org.opendaylight.controller.sal.binding.api.BindingAwareBroker"/>
114 </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.