Switch to MD-SAL APIs
[openflowplugin.git] / applications / bulk-o-matic / src / main / resources / OSGI-INF / blueprint / bulk-o-matic.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
4         odl:use-default-for-reference-types="true">
5
6   <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker" odl:type="pingpong"/>
7
8   <odl:rpc-service id="flowService"
9       interface="org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService"/>
10
11   <bean id="bulkFlowService" class="org.opendaylight.openflowplugin.applications.bulk.o.matic.SalBulkFlowServiceImpl">
12     <argument ref="flowService"/>
13     <argument ref="dataBroker"/>
14   </bean>
15
16   <odl:rpc-implementation ref="bulkFlowService"/>
17 </blueprint>