Rationalize features
[transportpce.git] / tapi / src / main / resources / org / OSGI-INF / blueprint / tapi-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2018 Orange and others. All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
9
10 Author: Gilles Thouenon <gilles.thouenon@orange.com>
11 -->
12 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
13   xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
14   odl:use-default-for-reference-types="true">
15
16     <reference id="dataBroker"
17           interface="org.opendaylight.mdsal.binding.api.DataBroker"
18           odl:type="default" />
19
20     <reference id="rpcProviderService"
21           interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
22
23     <reference id="serviceHandlerService"
24           interface="org.opendaylight.transportpce.servicehandler.service.ServiceHandlerOperations" />
25
26     <bean id="tapiListener"
27           class="org.opendaylight.transportpce.tapi.utils.TapiListener">
28     </bean>
29
30     <bean id="tapiProvider"
31           class="org.opendaylight.transportpce.tapi.impl.TapiProvider"
32           init-method="init" destroy-method="close">
33         <argument ref="dataBroker" />
34         <argument ref="rpcProviderService" />
35         <argument ref="serviceHandlerService" />
36         <argument ref="tapiListener" />
37     </bean>
38
39 </blueprint>