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%2FRpcProviderRegistry.java;h=759dbe01a7f235a549ecfb515c3dfe1c2ced2576;hp=22db985ba96b82cc4245a42f28ccd3e1f9959774;hb=a81d98f692b80c45bce3fe6a87e731abfb012a9f;hpb=b3d0ded2590e6a5a61055010f7b24e9a943c8d31 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; * *

Routed RPC example

*

- *

1. Defining a Context Type
+ *

1. Defining a Context Type

*

* 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. *