* removes direct dependencies between providers and consumers.
*
* The Binding-aware broker is also responsible for translation from Java
- * classes modeling the functionality and data to binding-indpenedent form which
+ * classes modeling the functionality and data to binding-independent form which
* is used in SAL Core.
*
*
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>,
@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);
}