X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Fapi%2FRpcProviderRegistry.java;h=759dbe01a7f235a549ecfb515c3dfe1c2ced2576;hb=fdebf2737d87e8be6e29b7ae42d5c4812c95fa8d;hp=22db985ba96b82cc4245a42f28ccd3e1f9959774;hpb=7325ba9a87ead9d9070b1ba7018ca20d60da987c;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/RpcProviderRegistry.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/RpcProviderRegistry.java index 22db985ba9..759dbe01a7 100644 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/RpcProviderRegistry.java +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/RpcProviderRegistry.java @@ -68,11 +68,11 @@ import org.opendaylight.yangtools.yang.binding.RpcService; * *
- *
* The following snippet declares a simple YANG identity
named example-context
:
*
- *
+ * {@code * module example { * ... * identity example-context { @@ -80,7 +80,7 @@ import org.opendaylight.yangtools.yang.binding.RpcService; * } * ... * } - *+ * } *
* We then use the declared identity to define a context type by using it in combination
* with the context-instance
YANG extension. We'll associate the context type
@@ -90,7 +90,7 @@ import org.opendaylight.yangtools.yang.binding.RpcService;
* The following YANG snippet imports the yang-ext
module and defines the list
* element named item
inside a container named foo
:
*
- *
+ * {@code * module foo { * ... * import yang-ext {prefix ext;} @@ -104,7 +104,7 @@ import org.opendaylight.yangtools.yang.binding.RpcService; * } * ... * } - *+ * } *
* The statement ext:context-instance "example-context";
inside the list element
* declares that any instance identifier referencing item
in the data
@@ -257,7 +257,7 @@ public interface RpcProviderRegistry extends //
* @param serviceInterface the YANG-generated interface of the RPC Service for which to register.
* @param implementation the implementation instance to register.
* @return a RoutedRpcRegistration instance which can be used to register paths for the RPC
- * implementation via invoking {@link RoutedRpcRegistration#registerPath(....).
+ * implementation via invoking RoutedRpcRegistration#registerPath(Class, InstanceIdentifer).
* {@link RoutedRpcRegistration#close()} should be called to unregister the implementation
* and all previously registered paths when no longer needed.
*