Interface ServiceRegistry
-
public interface ServiceRegistryRegistry for SPARQL federated service implementations.
- Since:
- 3.0
- Version:
- 6.0
- Author:
- Michael Grove
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<Service>canEvaluate(IRI theURI, java.util.function.Predicate<IRI> canReadNg)Find a service compatible with the given URIstatic booleanisInternalService(IRI iri)Is the service an internal service? Internal services can be referred to using the GRAPH keyword and should not overlap with graph names.
-
-
-
Method Detail
-
canEvaluate
java.util.Optional<Service> canEvaluate(IRI theURI, java.util.function.Predicate<IRI> canReadNg)
Find a service compatible with the given URI- Parameters:
theURI- the URI of the servicecanReadNg- a predicate to test whether users are authorized to read the graph represented by given service IRI- Returns:
- an Optional holding a Service corresponding to the URI, or an
Optional.empty()if a compatible Service is not found
-
isInternalService
static boolean isInternalService(IRI iri)
Is the service an internal service? Internal services can be referred to using the GRAPH keyword and should not overlap with graph names.
-
-