X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=binding2%2Fmdsal-binding2-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fmdsal%2Fbinding%2Fjavav2%2Fapi%2FRpcActionConsumerRegistry.java;fp=binding2%2Fmdsal-binding2-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fmdsal%2Fbinding%2Fjavav2%2Fapi%2FRpcActionConsumerRegistry.java;h=0000000000000000000000000000000000000000;hb=c9ced06c906691b0c58f9173fc06400cc565f106;hp=ad95dc3ad4548153994e42688ede43266386260f;hpb=b020023b71447f7fd2eee3c1eb4108578346da6d;p=mdsal.git diff --git a/binding2/mdsal-binding2-api/src/main/java/org/opendaylight/mdsal/binding/javav2/api/RpcActionConsumerRegistry.java b/binding2/mdsal-binding2-api/src/main/java/org/opendaylight/mdsal/binding/javav2/api/RpcActionConsumerRegistry.java deleted file mode 100644 index ad95dc3ad4..0000000000 --- a/binding2/mdsal-binding2-api/src/main/java/org/opendaylight/mdsal/binding/javav2/api/RpcActionConsumerRegistry.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2017 Pantheon Technologies s.r.o. 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.mdsal.binding.javav2.api; - -import com.google.common.annotations.Beta; -import org.opendaylight.mdsal.binding.javav2.spec.base.Action; -import org.opendaylight.mdsal.binding.javav2.spec.base.ListAction; -import org.opendaylight.mdsal.binding.javav2.spec.base.Rpc; -import org.opendaylight.mdsal.binding.javav2.spec.base.TreeNode; - -/** - * Provides access to registered Remote Procedure Call (RPC) and Action service implementations. - * RPCs and Actions are defined in YANG models. - * - *

- * RPC/Action implementations are registered using the {@link RpcActionProviderService}. - */ -@Beta -public interface RpcActionConsumerRegistry extends BindingService { - - /** - * Returns an implementation of a requested RPC service. - * - *

- * The returned instance is not an actual implementation of the RPC service interface, but a - * proxy implementation of the interface that forwards to an actual implementation, if any. - * - * @param serviceInterface given service interface - * @param interface type - * @return returns proxy for the requested RPC - */ - > T getRpcService(Class serviceInterface); - - /** - * Returns an implementation of a requested Action service. - * - *

- * The returned instance is not an actual implementation of the Action service interface, but a - * proxy implementation of the interface that forwards to an actual implementation, if any. - * - * @param serviceInterface given service interface - * @param interface type - * @return returns proxy for the requested Action - */ - > T getActionService(Class serviceInterface); - - /** - * Returns an implementation of a requested ListAction service. - * - *

- * The returned instance is not an actual implementation of the ListAction service interface, but a - * proxy implementation of the interface that forwards to an actual implementation, if any. - * - * @param serviceInterface given service interface - * @param interface type - * @return returns proxy for the requested ListAction - */ - > T getListActionService(Class serviceInterface); - -}