Convert OlmPowerServiceRpcImpl into a Component
[transportpce.git] / olm / src / main / resources / OSGI-INF / blueprint / olm-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2016 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 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
11   <reference id="rpcProviderService" interface="org.opendaylight.mdsal.binding.api.RpcProviderService" />
12   <reference id="olmPowerServiceImpl" interface="org.opendaylight.transportpce.olm.service.OlmPowerService" />
13   <reference id="olmPowerServiceRpcImpl" interface="org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.olm.rev210618.TransportpceOlmService"/>
14
15   <bean id="provider" class="org.opendaylight.transportpce.olm.OlmProvider"
16         init-method="init" destroy-method="close">
17     <argument ref="rpcProviderService" />
18     <argument ref="olmPowerServiceRpcImpl" />
19   </bean>
20
21   </blueprint>