aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/northbound/oofpcipoc/consumer/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml
blob: 6bb5e3833f4855ccff5f6baa3f608a10ee5417a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="UTF-8"?>

<!-- Copyright © ${copyrightYear} ${copyright} and others. All rights reserved. This program and the accompanying materials
  are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available
  at http://www.eclipse.org/legal/epl-v10.html -->

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
  xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0" odl:use-default-for-reference-types="true">

  <reference id="svcLogicService"
             interface="org.onap.ccsdk.sli.core.sli.provider.SvcLogicService" />

   <bean id="client" class="org.onap.ccsdk.features.sdnr.northbound.oofpcipoc.OofpcipocClient">
       <argument ref="svcLogicService" />
   </bean>

  <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
    odl:type="default" />

  <!-- Register the OofpcipocListener to receive yang notifications -->

  <odl:notification-listener ref="listener"/>

  <bean id="listener" class="org.onap.ccsdk.features.sdnr.northbound.oofpcipoc.OofpcipocHandleNotif">
    <argument ref="dataBroker" />
    <argument ref="client" />
  </bean>

</blueprint>