/*
- * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2015, 2017 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
package org.opendaylight.openflowplugin.api.openflow;
-import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
-
-import java.util.Collection;
-import org.opendaylight.controller.sal.binding.api.BindingAwareProvider;
-import org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflowplugin.api.types.rev150327.OfpRole;
+import org.opendaylight.controller.md.sal.binding.api.BindingService;
/**
- * Created by Martin Bobak <mbobak@cisco.com> on 27.3.2015.
+ * Plugin services provider
*/
-public interface OpenFlowPluginProvider extends AutoCloseable, BindingAwareProvider {
-
- /**
- * Method sets openflow java's connection providers.
- */
- void setSwitchConnectionProviders(Collection<SwitchConnectionProvider> switchConnectionProvider);
-
- /**
- * setter
- * @param bindingAwareBroker
- */
- void setBindingAwareBroker(BindingAwareBroker bindingAwareBroker);
-
- /**
- * Method sets role of this application in clustered environment.
- */
- void setRole(OfpRole role);
+public interface OpenFlowPluginProvider extends AutoCloseable, BindingService {
/**
* Method initializes all DeviceManager, RpcManager and related contexts.