class RemoteServiceManager extends AbstractProviderRegistry implements RemoteServiceDirectory, RemoteServiceProviderRegistry {

    @Override
    public RemoteServiceContext get(URI uri) {
        RemoteServiceContextProvider factory = getProvider(uri.getScheme());
        if (factory != null) {
            return factory.get(uri);
        }
        throw new UnsupportedOperationException(uri.getScheme() + " not supported");
    }

}