X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcore%2Fapi%2FBrokerService.java;h=655d5fb871d84fd3f193bfc51d2e6fcf96e18296;hp=dec2f7a4845ecf5a720384865299714f15c1982a;hb=ca22bcd61c9933dc8104ace0e306419bc452c32c;hpb=1ee71ae58a03de1c1f8fd8c789e7921508ba9f59 diff --git a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/BrokerService.java b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/BrokerService.java index dec2f7a484..655d5fb871 100644 --- a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/BrokerService.java +++ b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/BrokerService.java @@ -7,32 +7,13 @@ */ package org.opendaylight.controller.sal.core.api; -import org.opendaylight.controller.sal.core.api.Broker.ConsumerSession; - /** + * Session-specific instance of the broker functionality. BrokerService is marker interface for infrastructure services + * provided by the SAL. * - * Session-specific instance of the broker functionality. - * - *

- * BrokerService is marker interface for infrastructure services provided by the - * SAL. These services are session-specific, each {@link Provider} and - * {@link Consumer} 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 ConsumerSession#getService(Class)} method on session - * assigned to the consumer. - * - *

- * {@link BrokerService} and {@link Provider} may seem similar, but provider - * provides YANG model-based functionality and {@link BrokerService} exposes the - * necessary supporting functionality to implement specific functionality of - * YANG and to reuse it in the development of {@link Consumer}s and - * {@link Provider}s. - * - * + * @deprecated Use blueprint instead for code wiring. */ +@Deprecated public interface BrokerService { }