- public interface ProviderContext extends ConsumerContext {
- /**
- * Registers an global RpcService implementation.
- *
- * @param type
- * @param implementation
- * @return
- */
- <T extends RpcService> RpcRegistration<T> addRpcImplementation(Class<T> type, T implementation)
- throws IllegalStateException;
-
- <T extends RpcService> RpcRegistration<T> addMountRpcImplementation(Class<T> type,
- InstanceIdentifier mount, T implementation) throws IllegalStateException;