3c666e4c3f1a1fc7296974e0c143a03bf54f23fe
[controller.git] / benchmark / rpcbenchmark / src / main / resources / OSGI-INF / blueprint / rpcbenchmark.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2017 Inocybe Technologies Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
11            odl:use-default-for-reference-types="true">
12
13   <bean id="globalServer" class="rpcbenchmark.impl.GlobalBindingRTCServer"/>
14
15   <reference id="rpcProviderService" interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
16   <reference id="rpcConsumerRegistry" interface="org.opendaylight.mdsal.binding.api.RpcConsumerRegistry"/>
17
18   <bean id="provider" class="rpcbenchmark.impl.RpcbenchmarkProvider"
19           init-method="init" destroy-method="close">
20     <argument ref="rpcProviderService"/>
21     <argument ref="rpcConsumerRegistry"/>
22     <argument ref="globalServer"/>
23   </bean>
24
25   <odl:rpc-implementation ref="globalServer"/>
26   <odl:rpc-implementation ref="provider"/>
27 </blueprint>