Fix checkstyle violations in sal-dom-api
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / sal / core / api / Provider.java
index 0a57d12579239ae29e9fff251651db8483f1ee16..e6ba1cc76e493a6a49ada81ca63d895a3992cf92 100644 (file)
@@ -8,11 +8,9 @@
 package org.opendaylight.controller.sal.core.api;
 
 import java.util.Collection;
-
 import org.opendaylight.controller.sal.core.api.Broker.ProviderSession;
 
 /**
- *
  * Defines the component of controller and supplies additional metadata. A
  * component of the controller or application supplies a concrete implementation
  * of this interface.
@@ -21,8 +19,6 @@ import org.opendaylight.controller.sal.core.api.Broker.ProviderSession;
  * A user-implemented component (application) which facilitates the SAL and SAL
  * services to access infrastructure services and to provide functionality to
  * {@link Consumer}s and other providers.
- *
- *
  */
 public interface Provider {
 
@@ -39,31 +35,28 @@ public interface Provider {
      * @param session
      *            Unique session between provider and SAL.
      */
-    public void onSessionInitiated(ProviderSession session);
+    void onSessionInitiated(ProviderSession session);
 
     /**
-     * Gets a set of implementations of provider functionality to be registered
-     * into system during the provider registration to the SAL.
-     *
-     * <p>
-     * This method is invoked by {@link Broker#registerProvider(Provider)} to
-     * learn the initial provided functionality
-     *
-     * @return Set of provider's functionality.
+     * Deprecated.
+     *
+     * @deprecated - No longer used or needed. Suggested implementation until removed:
+     * {@code
+     * public Collection<ProviderFunctionality> getProviderFunctionality() {
+     *  return Collections.emptySet();
+     * }
+     * }
      */
-    public Collection<ProviderFunctionality> getProviderFunctionality();
+    @Deprecated
+    Collection<ProviderFunctionality> getProviderFunctionality();
 
     /**
-     * Functionality provided by the {@link Provider}
-     *
-     * <p>
-     * Marker interface used to mark the interfaces describing specific
-     * functionality which could be exposed by providers to other components.
-     *
-
+     * Deprecated.
      *
+     * @deprecated - no longer used or needed
      */
-    public interface ProviderFunctionality {
+    @Deprecated
+    interface ProviderFunctionality {
 
     }
 }