Interface ServiceRegistry
public interface ServiceRegistry
Registry for SPARQL federated service implementations.
- Since:
- 3.0
- Version:
- 6.0
- Author:
- Michael Grove
-
Method Summary
Modifier and TypeMethodDescriptioncanEvaluate(IRI theURI, 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 Details
-
canEvaluate
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
Is the service an internal service? Internal services can be referred to using the GRAPH keyword and should not overlap with graph names.
-