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);
}