f85f4cb6340a385d0c5fec4c5292106a360285c1
[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
14   <bean id="olmPowerServiceRpcImpl" class="org.opendaylight.transportpce.olm.OlmPowerServiceRpcImpl">
15     <argument ref="olmPowerServiceImpl" />
16   </bean>
17
18   <bean id="provider" class="org.opendaylight.transportpce.olm.OlmProvider"
19         init-method="init" destroy-method="close">
20     <argument ref="rpcProviderService" />
21     <argument ref="olmPowerServiceRpcImpl" />
22   </bean>
23
24   <service ref="olmPowerServiceRpcImpl"
25            interface="org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.olm.rev210618.TransportpceOlmService"/>
26   </blueprint>