X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Fapi%2FBindingAwareService.java;h=4f0ec6b0391d3bf27a7a743a18816a2f7d952c1b;hb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0;hp=b3680568bba9a9d1ed3ae59bc3eb0e03d4eaf17a;hpb=738d46bed116293e3e42171ad2035ab805b0b2be;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareService.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareService.java index b3680568bb..4f0ec6b039 100644 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareService.java +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareService.java @@ -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. - * + * *

* 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. - * + * *

- * 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. + * *

- * {@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 { }