Deprecate controller APIs
[controller.git] / opendaylight / md-sal / sal-binding-api / src / main / java / org / opendaylight / controller / sal / binding / api / BindingAwareBroker.java
index 81f8124c4647f11adae697b1214510d15ad0191a..385754f8b8e54643ecab59a19eb62acf0ac59e0f 100644 (file)
@@ -52,9 +52,6 @@ import org.osgi.framework.BundleContext;
  * and {@link ProviderContext}
  */
 public interface BindingAwareBroker {
-    /*
-     * @deprecated Use registerConsumer(BindingAwareConsumer cons) instead (BundleContext is no longer used)
-     */
     @Deprecated
     ConsumerContext registerConsumer(BindingAwareConsumer consumer, BundleContext ctx);
 
@@ -79,6 +76,7 @@ public interface BindingAwareBroker {
      * @throws IllegalStateException
      *             If the consumer is already registered.
      */
+    @Deprecated
     ConsumerContext registerConsumer(BindingAwareConsumer consumer);
 
     /*
@@ -115,6 +113,7 @@ public interface BindingAwareBroker {
      * @throws IllegalStateException
      *             If the consumer is already registered.
      */
+    @Deprecated
     ProviderContext registerProvider(BindingAwareProvider provider);
 
     /**
@@ -130,6 +129,7 @@ public interface BindingAwareBroker {
      * infrastructure services and other functionality provided by
      * {@link BindingAwareProvider}s.
      */
+    @Deprecated
     interface ConsumerContext extends RpcConsumerRegistry {
 
         /**
@@ -158,6 +158,7 @@ public interface BindingAwareBroker {
      * functionality provided by other {@link BindingAwareConsumer}s.
      *
      */
+    @Deprecated
     interface ProviderContext extends ConsumerContext, RpcProviderRegistry {
 
     }