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%2FBindingAwareBroker.java;h=db20a13991f8356acf88b3212c4722356aa70fc1;hb=6fd408a04fe4a3611843e2246ece6d7c34b76903;hp=19ca06a265941910077aca475a8195d31b11cecf;hpb=a3dbf5335c352c7463674e31314ce2b5285cb6fe;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareBroker.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareBroker.java index 19ca06a265..db20a13991 100644 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareBroker.java +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/BindingAwareBroker.java @@ -168,12 +168,7 @@ public interface BindingAwareBroker { public interface RpcRegistration extends Registration { - /** - * - * @return instance for which registration does exists. - */ - @Deprecated - T getService(); + Class getServiceType(); } public interface RoutedRpcRegistration extends RpcRegistration, @@ -191,6 +186,15 @@ public interface BindingAwareBroker { @Deprecated void registerInstance(Class context, InstanceIdentifier instance); + /** + * Unregister particular instance identifier to be processed by this + * RpcService + * + * Deprecated in favor of {@link RoutedRegistration#unregisterPath(Object, Object)}. + * + * @param context + * @param instance + */ @Deprecated void unregisterInstance(Class context, InstanceIdentifier instance); }