Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Fix typo in match types yang model"
[controller.git]
/
opendaylight
/
md-sal
/
sal-binding-api
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
sal
/
binding
/
api
/
BindingAwareBroker.java
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 19ca06a265941910077aca475a8195d31b11cecf..db20a13991f8356acf88b3212c4722356aa70fc1 100644
(file)
--- 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<T extends RpcService> extends Registration<T> {
public interface RpcRegistration<T extends RpcService> extends Registration<T> {
- /**
- *
- * @return instance for which registration does exists.
- */
- @Deprecated
- T getService();
+ Class<T> getServiceType();
}
public interface RoutedRpcRegistration<T extends RpcService> extends RpcRegistration<T>,
}
public interface RoutedRpcRegistration<T extends RpcService> extends RpcRegistration<T>,
@@
-191,6
+186,15
@@
public interface BindingAwareBroker {
@Deprecated
void registerInstance(Class<? extends BaseIdentity> context, InstanceIdentifier<?> instance);
@Deprecated
void registerInstance(Class<? extends BaseIdentity> 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<? extends BaseIdentity> context, InstanceIdentifier<?> instance);
}
@Deprecated
void unregisterInstance(Class<? extends BaseIdentity> context, InstanceIdentifier<?> instance);
}