Class ProxyRepository

java.lang.Object
org.eclipse.rdf4j.repository.base.AbstractRepository
org.eclipse.rdf4j.repository.sail.ProxyRepository
All Implemented Interfaces:
Repository, RepositoryResolverClient

public class ProxyRepository extends AbstractRepository implements RepositoryResolverClient

Repository implementation that takes a RepositoryResolver instance and the id of a managed repository, and delegate all calls through to the given repository.

The purpose is to allow Sails to refer to other local repositories using a unique identifier without having to go through an HTTP layer.

The implementation is independent of DelegatingRepository so that it is freed from having to provide implementation details in its configuration data. Instead, it only has to provide an unambiguous local identifier to the proxy.

Author:
Dale Visser