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%2Fmd%2Fsal%2Fdom%2Fapi%2FDOMRpcProviderService.java;fp=opendaylight%2Fmd-sal%2Fsal-dom-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fdom%2Fapi%2FDOMRpcProviderService.java;h=0000000000000000000000000000000000000000;hp=4c5280799a789f0522e602f1b162103915c0c71b;hb=2611e6a728e586ea34dd891f30a473bf54d6cbd8;hpb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0 diff --git a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMRpcProviderService.java b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMRpcProviderService.java deleted file mode 100644 index 4c5280799a..0000000000 --- a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMRpcProviderService.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.controller.md.sal.dom.api; - -import java.util.Set; -import org.eclipse.jdt.annotation.NonNull; - -/** - * A {@link DOMService} which allows registration of RPC implementations with a conceptual router. The client - * counterpart of this service is {@link DOMRpcService}. - * - *

- * This interface supports both RFC6020 RPCs and RFC7950 actions (formerly known as 'Routed RPCs'. Invocation for - * RFC6020 RPCs is always based on an empty context reference. Invocation of actions requires a non-empty context - * reference and is matched against registered implementations as follows: - *

- * - *

- * All implementations are required to perform these steps as specified above. - * - * @deprecated Use {@link org.opendaylight.mdsal.dom.api.DOMRpcProviderService} instead - */ -@Deprecated(forRemoval = true) -public interface DOMRpcProviderService extends DOMService { - /** - * Register an {@link DOMRpcImplementation} object with this service. - * - * @param implementation RPC implementation, must not be null - * @param rpcs Array of supported RPC identifiers. Must not be null, empty, or contain a null element. - * Each identifier is added exactly once, no matter how many times it occurs. - * @return A {@link DOMRpcImplementationRegistration} object, guaranteed to be non-null. - * @throws NullPointerException if implementation or types is null - * @throws IllegalArgumentException if types is empty or contains a null element. - */ - @NonNull DOMRpcImplementationRegistration registerRpcImplementation( - @NonNull T implementation, @NonNull DOMRpcIdentifier... rpcs); - - /** - * Register an {@link DOMRpcImplementation} object with this service. - * - * @param implementation RPC implementation, must not be null - * @param rpcs Set of supported RPC identifiers. Must not be null, empty, or contain a null element. - * @return A {@link DOMRpcImplementationRegistration} object, guaranteed to be non-null. - * @throws NullPointerException if implementation or types is null - * @throws IllegalArgumentException if types is empty or contains a null element. - */ - @NonNull DOMRpcImplementationRegistration registerRpcImplementation( - @NonNull T implementation, @NonNull Set rpcs); -}