use annotations instead of XML for Blueprint
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-impl / src / main / resources / OSGI-INF / blueprint / hwvtepsouthbound.xml
index af0e676dd01322be425583f23fa7e547ba2bdea8..b8937d0633a83e4df9fda7ba7240795643d6057a 100644 (file)
@@ -3,31 +3,10 @@
   xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
   odl:use-default-for-reference-types="true">
 
-  <reference id="dataBroker"
-    interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
-    odl:type="default" />
-  <reference id="eos"
-    interface="org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService" />
-  <reference id="ovsdbConnection" interface="org.opendaylight.ovsdb.lib.OvsdbConnection" />
-  <reference id="schemaService"
-    interface="org.opendaylight.mdsal.dom.api.DOMSchemaService" />
-  <reference id="bindingNormalizedNodeSerializer"
-    interface="org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer" />
-
-  <bean id="hwvtepProvider"
-    class="org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepSouthboundProvider"
-    init-method="init" destroy-method="close">
-    <argument ref="dataBroker" />
-    <argument ref="eos" />
-    <argument ref="ovsdbConnection" />
-    <argument ref="schemaService" />
-    <argument ref="bindingNormalizedNodeSerializer" />
-  </bean>
-
     <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
     <command>
         <action class="org.opendaylight.ovsdb.hwvtepsouthbound.TransactionHistoryCmd">
-            <argument ref="hwvtepProvider" />
+            <argument ref="hwvtepSouthboundProvider" />
         </action>
     </command>
     </command-bundle>