2 * Copyright (c) 2016 Brocade Communications Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.openflowplugin.api.openflow;
10 import java.util.List;
11 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
12 import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
13 import org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService;
14 import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
15 import org.opendaylight.infrautils.diagstatus.DiagStatusService;
16 import org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider;
17 import org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider;
18 import org.opendaylight.openflowplugin.api.openflow.configuration.ConfigurationService;
19 import org.opendaylight.openflowplugin.api.openflow.mastership.MastershipChangeServiceManager;
22 * Factory for creating OpenFlowPluginProvider instances.
24 public interface OpenFlowPluginProviderFactory {
25 OpenFlowPluginProvider newInstance(ConfigurationService configurationService,
26 DataBroker dataBroker,
27 RpcProviderRegistry rpcRegistry,
28 NotificationPublishService notificationPublishService,
29 EntityOwnershipService entityOwnershipService,
30 List<SwitchConnectionProvider> switchConnectionProviders,
31 ClusterSingletonServiceProvider singletonServiceProvider,
32 MastershipChangeServiceManager mastershipChangeServiceManager,
33 DiagStatusService diagStatusService);