Add blueprint wiring to netconf-notification-impl
[netconf.git] / netconf / mdsal-netconf-notification / src / main / resources / org / opendaylight / blueprint / mdsal-notification-mapper.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2016 Inocybe Technologies Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
11            odl:restart-dependents-on-updates="true">
12
13     <!--This is the MD-SAL netconf server notification mapper blueprint xml file-->
14
15     <bean id="netconfNotificationManager"
16           class="org.opendaylight.netconf.notifications.impl.NetconfNotificationManager"
17           destroy-method="close">
18     </bean>
19     <service ref="netconfNotificationManager"
20              interface="org.opendaylight.netconf.notifications.NetconfNotificationRegistry"
21              odl:type="netconf-notification-manager">
22         <service-properties>
23             <entry key="config-module-namespace" value="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification"/>
24             <entry key="config-module-name" value="netconf-notification-registry"/>
25             <entry key="config-instance-name" value="netconf-notification-manager"/>
26         </service-properties>
27     </service>
28     <service ref="netconfNotificationManager"
29              interface="org.opendaylight.netconf.notifications.NetconfNotificationCollector"
30              odl:type="netconf-notification-manager">
31         <service-properties>
32             <entry key="config-module-namespace" value="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification"/>
33             <entry key="config-module-name" value="netconf-notification-collector"/>
34             <entry key="config-instance-name" value="netconf-notification-manager"/>
35         </service-properties>
36     </service>
37 </blueprint>