Migrate OSGI compendium reference
[controller.git] / opendaylight / md-sal / sal-binding-api / src / main / java / org / opendaylight / controller / sal / binding / api / BindingAwareService.java
index 20d69a4ca91890879ca4d196aa867c8189e9623d..4f0ec6b0391d3bf27a7a743a18816a2f7d952c1b 100644 (file)
@@ -7,10 +7,9 @@
  */
 package org.opendaylight.controller.sal.binding.api;
 
-import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ConsumerContext;
+import org.opendaylight.controller.md.sal.binding.api.BindingService;
 
 /**
- *
  * Session-specific instance of the broker functionality.
  *
  * <p>
@@ -20,21 +19,20 @@ import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ConsumerCo
  * instance of the service with it's own context.
  *
  * <p>
- * The consumer's (or provider's) instance of specific service could be obtained
- * by invoking {@link ConsumerContext#getSALService(Class)} method on session
- * assigned to the consumer.
+ * The consumer's (or provider's) instance of specific service could be obtained by invoking
+ * {@link org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ConsumerContext#getSALService(Class)}
+ * method on session assigned to the consumer.
  *
  * <p>
- * {@link BindingAwareService} and {@link BindingAwareProvider} may seem
- * similar, but provider provides YANG model-based functionality and
+ * {@link org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ConsumerContext}
+ * and {@link BindingAwareProvider} may seem similar, but provider provides YANG model-based functionality and
  * {@link BindingAwareProvider} exposes the necessary supporting functionality
  * to implement specific functionality of YANG and to reuse it in the
- * development of {@link BindingAwareConsumer}s and {@link BindingAwareProvider}
- * s.
- *
- *
+ * development of {@link BindingAwareConsumer}s and {@link BindingAwareProvider}s.
  *
+ * @deprecated Use {@link BindingService} instead.
  */
+@Deprecated(forRemoval = true)
 public interface BindingAwareService {
 
 }