use annotations instead of XML for Blueprint
[ovsdb.git] / library / impl / src / main / resources / OSGI-INF / blueprint / library.xml
index 5eaf9f0339d620db8a86d9056256d5050866ff33..7d0133d40c639af4f757d6b599dbdbfbd4701bde 100644 (file)
     </cm:default-properties>
   </cm:property-placeholder>
 
-  <reference id="aaaCertificateManager"
-        interface="org.opendaylight.aaa.cert.api.ICertificateManager"
-        odl:type="default-certificate-manager"/>
-
   <!-- Notify OvsdbConnectionService with any change in the config properties value-->
-  <bean id="ovsdbConnectionService" class="org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService">
-    <argument ref="aaaCertificateManager"/>
+  <bean id="ovsdbConnectionServiceConfigurator" class="org.opendaylight.ovsdb.lib.impl.OvsdbConnectionServiceConfigurator">
+    <argument ref="ovsdbConnectionService"/>
     <cm:managed-properties persistent-id="org.opendaylight.ovsdb.library"
                            update-strategy="component-managed"
                            update-method="updateConfigParameter"/>
@@ -35,7 +31,4 @@
     <property name="jsonRpcDecoderMaxFrameLength" value="${json-rpc-decoder-max-frame-length}"/>
   </bean>
 
-  <service ref="ovsdbConnectionService" interface="org.opendaylight.ovsdb.lib.OvsdbConnection"
-    odl:type="default" />
-
 </blueprint>