ec4c64e67843ca31c14bbf56b6ba01690d3d63ac
[ccsdk/features.git] / sdnr / wt / netconfnode-state-service / provider / src / main / resources / org / opendaylight / blueprint / impl-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
5   ~ ================================================================================
6   ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
7   ~ All rights reserved.
8   ~ ================================================================================
9   ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
10   ~ ================================================================================
11   ~ Licensed under the Apache License, Version 2.0 (the "License");
12   ~ you may not use this file except in compliance with the License.
13   ~ You may obtain a copy of the License at
14   ~
15   ~     http://www.apache.org/licenses/LICENSE-2.0
16   ~
17   ~ Unless required by applicable law or agreed to in writing, software
18   ~ distributed under the License is distributed on an "AS IS" BASIS,
19   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20   ~ See the License for the specific language governing permissions and
21   ~ limitations under the License.
22   ~ ============LICENSE_END=======================================================
23   ~
24   -->
25
26 <blueprint xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
27            xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" odl:use-default-for-reference-types="true">
28
29     <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
30
31     <reference id="domDataBroker" interface="org.opendaylight.mdsal.dom.api.DOMDataBroker"/>
32
33     <reference id="notificationPublishService"
34                interface="org.opendaylight.mdsal.binding.api.NotificationPublishService"/>
35
36     <reference id="mountPointService"
37                interface="org.opendaylight.mdsal.binding.api.MountPointService"/>
38
39     <reference id="domMountPointService"
40                interface="org.opendaylight.mdsal.dom.api.DOMMountPointService"/>
41
42     <reference id="rpcProviderRegistry"
43                interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
44
45     <reference id="clusterSingletonService"
46                interface="org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider"/>
47
48     <reference id="iEntityDataProvider"
49                interface="org.onap.ccsdk.features.sdnr.wt.dataprovider.model.IEntityDataProvider"/>
50
51     <reference id="yangParserFactory" 
52                interface="org.opendaylight.yangtools.yang.model.parser.api.YangParserFactory"/>
53
54     <reference id="bindingNormalizedNodeSerializer"
55                interface="org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer"/>
56
57
58     <bean id="netconfNodeStateService" class="org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.impl.NetconfNodeStateServiceImpl" init-method="init" destroy-method="destroy" scope="singleton">
59         <property name="dataBroker" ref="dataBroker"/>
60         <property name="domDataBroker" ref="domDataBroker"/>
61         <property name="rpcProviderRegistry" ref="rpcProviderRegistry"/>
62         <property name="notificationPublishService" ref="notificationPublishService"/>
63         <property name="mountPointService" ref="mountPointService"/>
64         <property name="domMountPointService" ref="domMountPointService"/>
65         <property name="clusterSingletonService" ref="clusterSingletonService"/>
66         <property name="entityDataProvider" ref="iEntityDataProvider"/>
67         <property name="yangParserFactory" ref="yangParserFactory"/>
68         <property name="bindingNormalizedNodeSerializer" ref="bindingNormalizedNodeSerializer"/>
69     </bean>
70
71     <service id="registerNetconfNodeStateService"
72              interface="org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfNodeStateService"
73              ref="netconfNodeStateService"/>
74
75 </blueprint>