X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=olm%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Folm%2Fstub%2FRpcProviderRegistryStub2.java;fp=olm%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Folm%2Fstub%2FRpcProviderRegistryStub2.java;h=a4a7e6062e129965972108c2d41e64aceee2b64e;hb=b1f991e5165efd8969340c321250836b6aca293d;hp=0000000000000000000000000000000000000000;hpb=90c0eda9d59241fc2cc13967ce54914ee974f48b;p=transportpce.git diff --git a/olm/src/test/java/org/opendaylight/transportpce/olm/stub/RpcProviderRegistryStub2.java b/olm/src/test/java/org/opendaylight/transportpce/olm/stub/RpcProviderRegistryStub2.java new file mode 100644 index 000000000..a4a7e6062 --- /dev/null +++ b/olm/src/test/java/org/opendaylight/transportpce/olm/stub/RpcProviderRegistryStub2.java @@ -0,0 +1,38 @@ +/* + * Copyright © 2018 Orange 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.transportpce.olm.stub; + +import org.opendaylight.controller.md.sal.common.api.routing.RouteChangeListener; +import org.opendaylight.controller.sal.binding.api.BindingAwareBroker; +import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry; +import org.opendaylight.controller.sal.binding.api.rpc.RpcContextIdentifier; +import org.opendaylight.yangtools.concepts.ListenerRegistration; +import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; +import org.opendaylight.yangtools.yang.binding.RpcService; + +public class RpcProviderRegistryStub2 implements RpcProviderRegistry { + @Override public BindingAwareBroker.RpcRegistration addRpcImplementation( + Class serviceInterface, T implementation) throws IllegalStateException { + return null; + } + + @Override public BindingAwareBroker.RoutedRpcRegistration addRoutedRpcImplementation( + Class serviceInterface, T implementation) throws IllegalStateException { + return null; + } + + @Override public >> ListenerRegistration registerRouteChangeListener(L listener) { + return null; + } + + @Override public T getRpcService(Class serviceInterface) { + return null; + } +}