ad51e5552a211589d775f3fb21265533b1c1df04
[openflowplugin.git] / openflowplugin-impl / src / main / resources / OSGI-INF / blueprint / autowire.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
3     <bean id="flowGroupCacheManagerImpl" class="org.opendaylight.openflowplugin.impl.services.cache.FlowGroupCacheManagerImpl"/>
4     <bean id="mastershipChangeServiceManagerImpl" class="org.opendaylight.openflowplugin.impl.mastership.MastershipChangeServiceManagerImpl"/>
5     <bean id="openFlowPluginProviderImpl" class="org.opendaylight.openflowplugin.impl.OpenFlowPluginProviderImpl" init-method="initialize" destroy-method="close">
6         <argument ref="configurationService"/>
7         <argument ref="switchConnectionProviderList"/>
8         <argument ref="pingPongDataBroker"/>
9         <argument ref="rpcProviderService"/>
10         <argument ref="notificationPublishService"/>
11         <argument ref="clusterSingletonServiceProvider"/>
12         <argument ref="entityOwnershipService"/>
13         <argument ref="mastershipChangeServiceManagerImpl"/>
14         <argument ref="openflowDiagStatusProvider"/>
15         <argument ref="systemReadyMonitor"/>
16     </bean>
17     <reference id="systemReadyMonitor" interface="org.opendaylight.infrautils.ready.SystemReadyMonitor"/>
18     <reference id="notificationPublishService" interface="org.opendaylight.mdsal.binding.api.NotificationPublishService"/>
19     <reference id="rpcProviderService" interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
20     <reference id="entityOwnershipService" interface="org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService"/>
21     <reference id="clusterSingletonServiceProvider" interface="org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider"/>
22     <reference id="openflowDiagStatusProvider" interface="org.opendaylight.openflowjava.protocol.api.connection.OpenflowDiagStatusProvider"/>
23     <service ref="flowGroupCacheManagerImpl" interface="org.opendaylight.openflowplugin.api.openflow.FlowGroupCacheManager"/>
24     <service ref="mastershipChangeServiceManagerImpl" interface="org.opendaylight.openflowplugin.api.openflow.mastership.MastershipChangeServiceManager"/>
25     <service ref="openFlowPluginProviderImpl">
26         <interfaces>
27             <value>org.opendaylight.openflowplugin.api.openflow.OpenFlowPluginProvider</value>
28             <value>org.opendaylight.openflowplugin.extension.api.OpenFlowPluginExtensionRegistratorProvider</value>
29             <value>org.opendaylight.openflowplugin.api.openflow.FlowGroupInfoHistories</value>
30         </interfaces>
31     </service>
32 </blueprint>