X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Fapi%2FBindingAwareProvider.java;h=35583c0d42f291faeae777081573027426d5d8b2;hp=cb26cad2f392cacc01757cd6c8bdff1b29920cad;hb=e67e519778a0692f3183a059a52e5cb378fce9e0;hpb=f888ae565eaebae56e0c6eaffe6600f143fb1906 diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareProvider.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareProvider.java index cb26cad2f3..35583c0d42 100644 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareProvider.java +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareProvider.java @@ -7,11 +7,7 @@ */ package org.opendaylight.controller.sal.binding.api; -import java.util.Collection; - -import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ConsumerContext; import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext; -import org.opendaylight.yangtools.yang.binding.RpcService; /** * @@ -107,55 +103,6 @@ import org.opendaylight.yangtools.yang.binding.RpcService; */ public interface BindingAwareProvider { - /** - * @deprecated - * - * This interface was originally intended to solve problems of how to get Implementations - * of functionality from a provider, but that is no longer necessary because the Provider - * Registers RPCs in onSessionInitiated. - * - * Recommend: - * {code - * public Collection getImplementations() { - * return Collections.emptySet(); - * } - * } - */ - @Deprecated - Collection getImplementations(); - - /** - * @deprecated - * - * This interface was originally intended to solve problems of how to get Functionality - * a provider could provide, but that is no longer necessary because the Provider - * Registers RPCs in onSessionInitiated. - * - * Recommend: - * {code - * public Collection getFunctionality() { - * return Collections.emptySet(); - * } - * } - * - */ - @Deprecated - Collection getFunctionality(); - - /** - * Functionality provided by the {@link BindingAwareProvider} - * - *

- * Marker interface used to mark the interfaces describing specific - * functionality which could be exposed by providers to other components. - * - * - * - */ - @Deprecated - public interface ProviderFunctionality { - - } /** * Callback signaling initialization of the consumer session to the SAL. * @@ -168,22 +115,4 @@ public interface BindingAwareProvider { * @param session Unique session between consumer and SAL. */ void onSessionInitiated(ProviderContext session); - - /* - * @deprecated - * - * A provider was at one point considered an extension of a consumer, thus this - * call. It is deprecated and the @see org.opendaylight.controller.sal.binding.api.BindingAwareConsumer#onSessionInitiated - * used, or you should simply use {@link #onSessionInitiated(ProviderContext)} - * - * Recommend: - * {code - * public final void onSessionInitialized(ConsumerContext session) { - * // NOOP - as method is deprecated - * } - * } - */ - @Deprecated - void onSessionInitialized(ConsumerContext session); - }