Improve property-based configuration
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / OpenFlowPluginProvider.java
index 6e97fcc274a1e1fd53e086513c3f287b1e9ce28d..5eb41b5a92aab781e6b6fa77c093fc889971d991 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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,
@@ -8,43 +8,13 @@
 
 package org.opendaylight.openflowplugin.api.openflow;
 
-import java.util.Collection;
 import org.opendaylight.controller.md.sal.binding.api.BindingService;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.md.sal.binding.api.NotificationService;
-import org.opendaylight.controller.sal.binding.api.NotificationProviderService;
-import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
-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;
 
 /**
- * Created by Martin Bobak <mbobak@cisco.com> on 27.3.2015.
+ * Plugin services provider
  */
 public interface OpenFlowPluginProvider extends AutoCloseable, BindingService {
 
-    /**
-     * Method sets openflow java's connection providers.
-     */
-    void setSwitchConnectionProviders(Collection<SwitchConnectionProvider> switchConnectionProvider);
-
-    /**
-     * setter
-     *
-     * @param dataBroker
-     */
-    void setDataBroker(DataBroker dataBroker);
-
-    void setRpcProviderRegistry(RpcProviderRegistry rpcProviderRegistry);
-
-    void setNotificationProviderService(NotificationService notificationProviderService);
-    void setNotificationPublishService(NotificationPublishService notificationPublishService);
-
-    /**
-     * Method sets role of this application in clustered environment.
-     */
-    void setRole(OfpRole role);
-
     /**
      * Method initializes all DeviceManager, RpcManager and related contexts.
      */