Remove sal.core.api.model
[controller.git] / opendaylight / md-sal / sal-dom-broker / src / main / resources / org / opendaylight / blueprint / dom-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            xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
5     odl:restart-dependents-on-updates="false">
6
7   <cm:property-placeholder persistent-id="org.opendaylight.mdsal.dom.notification" update-strategy="none">
8     <cm:default-properties>
9       <cm:property name="notification-queue-depth" value="65536"/>
10       <cm:property name="notification-queue-spin" value="0"/>
11       <cm:property name="notification-queue-park" value="0"/>
12     </cm:default-properties>
13   </cm:property-placeholder>
14
15   <!-- Schema Service -->
16
17   <odl:static-reference id="schemaService" interface="org.opendaylight.mdsal.dom.api.DOMSchemaService"/>
18
19   <!-- DOM Notification Service -->
20
21   <reference id="domNotificationService" interface="org.opendaylight.mdsal.dom.api.DOMNotificationService"
22       odl:type="default"/>
23   <reference id="domNotificationPublishService" interface="org.opendaylight.mdsal.dom.api.DOMNotificationPublishService"
24       odl:type="default"/>
25   <reference id="domNotificationSubscriptionListenerRegistry" interface="org.opendaylight.mdsal.dom.spi.DOMNotificationSubscriptionListenerRegistry"
26       odl:type="default"/>
27
28   <bean id="domNotificationRouter" class="org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter"
29           factory-method="create">
30     <argument ref="domNotificationService"/>
31     <argument ref="domNotificationPublishService"/>
32     <argument ref="domNotificationSubscriptionListenerRegistry"/>
33   </bean>
34
35   <service ref="domNotificationRouter" odl:type="default">
36     <interfaces>
37       <value>org.opendaylight.controller.md.sal.dom.api.DOMNotificationService</value>
38       <value>org.opendaylight.controller.md.sal.dom.api.DOMNotificationPublishService</value>
39       <value>org.opendaylight.controller.md.sal.dom.spi.DOMNotificationSubscriptionListenerRegistry</value>
40     </interfaces>
41   </service>
42
43   <!-- DOM RPC Service -->
44
45   <reference id="domRpcService" interface="org.opendaylight.mdsal.dom.api.DOMRpcService"
46       odl:type="default"/>
47   <reference id="domRpcProviderService" interface="org.opendaylight.mdsal.dom.api.DOMRpcProviderService"
48       odl:type="default"/>
49
50   <bean id="domRpcRouter" class="org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter">
51     <argument ref="domRpcService"/>
52     <argument ref="domRpcProviderService"/>
53   </bean>
54
55   <service ref="domRpcRouter" odl:type="default">
56     <interfaces>
57       <value>org.opendaylight.controller.md.sal.dom.api.DOMRpcService</value>
58       <value>org.opendaylight.controller.md.sal.dom.api.DOMRpcProviderService</value>
59     </interfaces>
60   </service>
61
62   <!-- DOM MountPoint Service -->
63
64   <bean id="domMountPointService" class="org.opendaylight.controller.md.sal.dom.broker.impl.mount.DOMMountPointServiceImpl"/>
65
66   <service ref="domMountPointService" interface="org.opendaylight.controller.md.sal.dom.api.DOMMountPointService"
67         odl:type="default"/>
68
69   <!-- DOM PingPong Data Broker -->
70
71   <reference id="domDefaultDataBroker" interface="org.opendaylight.controller.md.sal.dom.api.DOMDataBroker"
72       odl:type="default"/>
73
74   <bean id="domPingPongDataBroker" class="org.opendaylight.controller.md.sal.dom.broker.impl.PingPongDataBroker">
75     <argument ref="domDefaultDataBroker"/>
76   </bean>
77
78   <service ref="domPingPongDataBroker" interface="org.opendaylight.controller.md.sal.dom.api.DOMDataBroker"
79       odl:type="pingpong"/>
80
81 </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.