1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2016 Inocybe Technologies Inc. and others. All rights reserved.
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
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">
13 <reference id="dataBroker"
14 interface="org.opendaylight.mdsal.binding.api.DataBroker"
16 <reference id="netconfOperationServiceFactoryListener"
17 interface="org.opendaylight.netconf.mapping.api.NetconfOperationServiceFactoryListener"
18 odl:type="mapper-aggregator-registry"/>
19 <reference id="bindingGenerator"
20 interface="org.opendaylight.binding.runtime.api.BindingRuntimeGenerator"/>
21 <reference id="codecFactory"
22 interface="org.opendaylight.mdsal.binding.dom.codec.spi.BindingDOMCodecFactory"/>
23 <reference id="parserFactory"
24 interface="org.opendaylight.yangtools.yang.model.parser.api.YangParserFactory"/>
26 <!--This is the MD-SAL netconf server notification blueprint xml file-->
27 <bean id="transformUtil"
28 class="org.opendaylight.netconf.mdsal.notification.impl.ops.NotificationsTransformUtil">
29 <argument ref="parserFactory"/>
30 <argument ref="bindingGenerator"/>
31 <argument ref="codecFactory"/>
34 <bean id="netconfNotificationManager"
35 class="org.opendaylight.netconf.mdsal.notification.impl.NetconfNotificationManager"
36 destroy-method="close">
37 <argument ref="transformUtil"/>
39 <service ref="netconfNotificationManager"
40 interface="org.opendaylight.netconf.notifications.NetconfNotificationRegistry"
41 odl:type="netconf-notification-manager">
43 <service ref="netconfNotificationManager"
44 interface="org.opendaylight.netconf.notifications.NetconfNotificationCollector"
45 odl:type="netconf-notification-manager">
48 <bean id="notificationToMdsalWriter"
49 class="org.opendaylight.netconf.mdsal.notification.impl.NotificationToMdsalWriter"
51 destroy-method="close">
52 <argument ref="netconfNotificationManager"/>
53 <argument ref="dataBroker"/>
56 <bean id="capabilityChangeNotificationProducer"
57 class="org.opendaylight.netconf.mdsal.notification.impl.CapabilityChangeNotificationProducer"
58 destroy-method="close">
59 <argument ref="netconfNotificationManager"/>
60 <argument ref="dataBroker"/>
63 <bean id="yangLibraryNotificationProducer"
64 class="org.opendaylight.netconf.mdsal.notification.impl.YangLibraryNotificationProducer"
65 destroy-method="close">
66 <argument ref="netconfNotificationManager"/>
67 <argument ref="dataBroker"/>
70 <bean id="sessionNotificationProducer"
71 class="org.opendaylight.netconf.mdsal.notification.impl.SessionNotificationProducer"
72 destroy-method="close">
73 <argument ref="netconfNotificationManager"/>
74 <argument ref="dataBroker"/>
77 <bean id="netconfNotificationOperationServiceFactory"
78 class="org.opendaylight.netconf.mdsal.notification.impl.NetconfNotificationOperationServiceFactory"
79 destroy-method="close">
80 <argument ref="netconfNotificationManager"/>
81 <argument ref="netconfOperationServiceFactoryListener"/>
83 <service ref="netconfNotificationOperationServiceFactory"
84 interface="org.opendaylight.netconf.mapping.api.NetconfOperationServiceFactory"
85 odl:type="mdsal-netconf-notification"/>