Class OpenFlowPluginProviderImpl
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.OpenFlowPluginProviderImpl
-
- All Implemented Interfaces:
AutoCloseable,org.opendaylight.infrautils.ready.SystemReadyListener,org.opendaylight.mdsal.binding.api.BindingService,FlowGroupInfoHistories,OpenFlowPluginProvider,OpenFlowPluginExtensionRegistratorProvider
@Singleton public class OpenFlowPluginProviderImpl extends Object implements OpenFlowPluginProvider, OpenFlowPluginExtensionRegistratorProvider, FlowGroupInfoHistories, org.opendaylight.infrautils.ready.SystemReadyListener
-
-
Constructor Summary
Constructors Constructor Description OpenFlowPluginProviderImpl(ConfigurationService configurationService, SwitchConnectionProviderList switchConnectionProviders, PingPongDataBroker pingPongDataBroker, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider singletonServiceProvider, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, MastershipChangeServiceManager mastershipChangeServiceManager, OpenflowDiagStatusProvider openflowDiagStatusProvider, org.opendaylight.infrautils.ready.SystemReadyMonitor systemReadyMonitor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Map<NodeId,FlowGroupInfoHistory>getAllFlowGroupHistories()ExtensionConverterRegistratorgetExtensionConverterRegistrator()Returns the extensionConverterRegistry - here extension converters can be registered in order to support vendor messages.FlowGroupInfoHistorygetFlowGroupHistory(NodeId nodeId)Future<Void>getFullyStarted()static MessageIntelligenceAgencygetMessageIntelligenceAgency()voidinitialize()Method initializes all DeviceManager, RpcManager and related contexts.voidonSystemBootReady()
-
-
-
Constructor Detail
-
OpenFlowPluginProviderImpl
@Inject public OpenFlowPluginProviderImpl(ConfigurationService configurationService, SwitchConnectionProviderList switchConnectionProviders, PingPongDataBroker pingPongDataBroker, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider singletonServiceProvider, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, MastershipChangeServiceManager mastershipChangeServiceManager, OpenflowDiagStatusProvider openflowDiagStatusProvider, org.opendaylight.infrautils.ready.SystemReadyMonitor systemReadyMonitor)
-
-
Method Detail
-
getMessageIntelligenceAgency
public static MessageIntelligenceAgency getMessageIntelligenceAgency()
-
onSystemBootReady
public void onSystemBootReady()
- Specified by:
onSystemBootReadyin interfaceorg.opendaylight.infrautils.ready.SystemReadyListener
-
initialize
@PostConstruct public void initialize()
Description copied from interface:OpenFlowPluginProviderMethod initializes all DeviceManager, RpcManager and related contexts.- Specified by:
initializein interfaceOpenFlowPluginProvider
-
getExtensionConverterRegistrator
public ExtensionConverterRegistrator getExtensionConverterRegistrator()
Description copied from interface:OpenFlowPluginExtensionRegistratorProviderReturns the extensionConverterRegistry - here extension converters can be registered in order to support vendor messages.- Specified by:
getExtensionConverterRegistratorin interfaceOpenFlowPluginExtensionRegistratorProvider- Returns:
- extensionConverterRegistrator
-
getAllFlowGroupHistories
public Map<NodeId,FlowGroupInfoHistory> getAllFlowGroupHistories()
- Specified by:
getAllFlowGroupHistoriesin interfaceFlowGroupInfoHistories
-
getFlowGroupHistory
public FlowGroupInfoHistory getFlowGroupHistory(NodeId nodeId)
- Specified by:
getFlowGroupHistoryin interfaceFlowGroupInfoHistories
-
close
@PreDestroy public void close()
- Specified by:
closein interfaceAutoCloseable
-
-