Remove sal.core.api.model
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / provider / src / main / resources / org / opendaylight / blueprint / cluster-test-app.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:use-default-for-reference-types="true">
6
7   <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"/>
8   <reference id="notificationService" interface="org.opendaylight.controller.sal.binding.api.NotificationProviderService"/>
9   <reference id="entityOwnershipService" interface="org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService"/>
10   <reference id="bindingRpcRegistry" interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>
11   <reference id="domRpcProviderService" interface="org.opendaylight.controller.md.sal.dom.api.DOMRpcProviderService"/>
12   <reference id="clusterSingletonService" interface="org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider"/>
13   <reference id="domDataBroker" interface="org.opendaylight.controller.md.sal.dom.api.DOMDataBroker"/>
14   <reference id="schemaService" interface="org.opendaylight.mdsal.dom.api.DOMSchemaService"/>
15   <reference id="normalizedNodeSerializer" interface="org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer"/>
16   <reference id="notificationPublishService" interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService" />
17   <reference id="notificationListenerService" interface="org.opendaylight.controller.md.sal.binding.api.NotificationService" />
18   <reference id="domDataTreeService" interface="org.opendaylight.mdsal.dom.api.DOMDataTreeService"/>
19   <reference id="distributedShardFactory" interface="org.opendaylight.controller.cluster.sharding.DistributedShardFactory"/>
20   <reference id="configDatastore" interface="org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface"
21              odl:type="distributed-config"/>
22   <reference id="actorSystemProvider" interface="org.opendaylight.controller.cluster.ActorSystemProvider"/>
23
24
25   <bean id="purchaseCarProvider" class="org.opendaylight.controller.clustering.it.provider.PurchaseCarProvider" >
26     <property name="notificationProvider" ref="notificationService"/>
27   </bean>
28
29   <odl:routed-rpc-implementation id="carPurchaseRpcReg" ref="purchaseCarProvider"/>
30
31   <bean id="peopleProvider" class="org.opendaylight.controller.clustering.it.provider.PeopleProvider" >
32     <property name="dataProvider" ref="dataBroker"/>
33     <property name="rpcRegistration" ref="carPurchaseRpcReg"/>
34   </bean>
35
36   <bean id="carProvider" class="org.opendaylight.controller.clustering.it.provider.CarProvider"
37        destroy-method="close">
38     <argument ref="dataBroker"/>
39     <argument ref="entityOwnershipService"/>
40     <argument ref="domDataBroker"/>
41   </bean>
42
43   <odl:rpc-implementation ref="carProvider"/>
44   <odl:rpc-implementation ref="peopleProvider"/>
45
46   <bean id="peopleCarListener" class="org.opendaylight.controller.clustering.it.listener.PeopleCarListener" >
47     <property name="dataProvider" ref="dataBroker"/>
48   </bean>
49
50   <odl:notification-listener ref="peopleCarListener"/>
51
52   <bean id="basicTestProvider" class="org.opendaylight.controller.clustering.it.provider.BasicRpcTestProvider">
53     <argument ref="bindingRpcRegistry"/>
54     <argument ref="clusterSingletonService"/>
55   </bean>
56
57   <bean id="lowLevelTestProvider" class="org.opendaylight.controller.clustering.it.provider.MdsalLowLevelTestProvider">
58     <argument ref="bindingRpcRegistry"/>
59     <argument ref="domRpcProviderService"/>
60     <argument ref="clusterSingletonService"/>
61     <argument ref="schemaService"/>
62     <argument ref="normalizedNodeSerializer"/>
63     <argument ref="notificationPublishService"/>
64     <argument ref="notificationListenerService"/>
65     <argument ref="domDataBroker"/>
66     <argument ref="domDataTreeService"/>
67     <argument ref="distributedShardFactory"/>
68     <argument ref="configDatastore"/>
69     <argument ref="actorSystemProvider"/>
70   </bean>
71
72 </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.