Convert PathComputationServiceImpl into Component
[transportpce.git] / pce / src / main / resources / OSGI-INF / blueprint / pce-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2017 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: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange
11 -->
12 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
13
14   <reference id="rpcService" interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
15   <reference id="pceServiceImpl" interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>
16
17   <bean id="provider"
18         class="org.opendaylight.transportpce.pce.impl.PceProvider"
19         init-method="init" destroy-method="close">
20     <argument ref="rpcService" />
21     <argument ref="pceServiceImpl" />
22   </bean>
23 </blueprint>