Deprecate all MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-binding-api / src / main / java / org / opendaylight / controller / sal / binding / api / BindingAwareService.java
index b3680568bba9a9d1ed3ae59bc3eb0e03d4eaf17a..2a54c7d855761274f7e11136f000c03212f513a3 100644 (file)
@@ -7,34 +7,32 @@
  */
 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>
  * BindingAwareService is marker interface for infrastructure services provided
  * by the SAL. These services are session-specific, each
  * {@link BindingAwareConsumer} and {@link BindingAwareProvider} usually has own
  * 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
 public interface BindingAwareService {
 
 }