Initial tapi notification implementation
[transportpce.git] / nbinotifications / src / main / resources / OSGI-INF / blueprint / nobinotifications-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright © 2020 Orange and others. All rights reserved. This program and the accompanying materials
4     are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution,
5     and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
7 xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
8     odl:use-default-for-reference-types="true">
9     <cm:property-placeholder persistent-id="org.opendaylight.transportpce.nbinotifications" update-strategy="reload">
10         <cm:default-properties>
11             <cm:property name="suscriber.server" value="" />
12             <cm:property name="publisher.server" value="" />
13         </cm:default-properties>
14     </cm:property-placeholder>
15     <reference id="rpcService" interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
16     <reference id="notificationService" interface="org.opendaylight.mdsal.binding.api.NotificationService"/>
17     <reference id="bindingDOMCodecServices" interface="org.opendaylight.mdsal.binding.dom.codec.spi.BindingDOMCodecServices" />
18     <reference id="networkTransactionImpl"
19                interface="org.opendaylight.transportpce.common.network.NetworkTransactionService" />
20     <bean id="provider"
21         class="org.opendaylight.transportpce.nbinotifications.impl.NbiNotificationsProvider"
22         init-method="init" destroy-method="close">
23         <argument>
24             <list value-type="java.lang.String">
25                 <value>PceListener</value>
26                 <value>ServiceHandlerOperations</value>
27                 <value>ServiceHandler</value>
28                 <value>RendererListener</value>
29             </list>
30         </argument>
31         <argument>
32             <list value-type="java.lang.String">
33                 <value>ServiceListener</value>
34             </list>
35         </argument>
36         <argument value="${suscriber.server}"/>
37         <argument value="${publisher.server}"/>
38         <argument ref="rpcService" />
39         <argument ref="notificationService" />
40         <argument ref="bindingDOMCodecServices" />
41         <argument ref="networkTransactionImpl" />
42     </bean>
43 </blueprint>