public class FederatedServiceResolverImpl extends FederatedServiceResolverBase implements FederatedServiceResolver, HttpClientDependent, SesameClientDependent
FederatedServiceResolverImpl is used to manage a set of
FederatedService instances, which are used to evaluate SERVICE
expressions for particular service Urls.
Lookup can be done via the serviceUrl using the method
FederatedServiceResolverBase.getService(String). If there is no service for the specified url, a
SPARQLFederatedService is created and registered for future use.
endpointToService| Constructor and Description |
|---|
FederatedServiceResolverImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected FederatedService |
createService(String serviceUrl)
Create a new
FederatedService for the given serviceUrl. |
org.apache.http.client.HttpClient |
getHttpClient() |
SesameClient |
getSesameClient() |
void |
setHttpClient(org.apache.http.client.HttpClient httpClient) |
void |
setSesameClient(SesameClient client) |
void |
shutDown() |
getService, registerService, unregisterAll, unregisterServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServicepublic SesameClient getSesameClient()
getSesameClient in interface SesameClientDependentpublic void setSesameClient(SesameClient client)
setSesameClient in interface SesameClientDependentpublic org.apache.http.client.HttpClient getHttpClient()
getHttpClient in interface HttpClientDependentpublic void setHttpClient(org.apache.http.client.HttpClient httpClient)
setHttpClient in interface HttpClientDependentprotected FederatedService createService(String serviceUrl) throws QueryEvaluationException
FederatedServiceResolverBaseFederatedService for the given serviceUrl. This method
is invoked, if no FederatedService has been created yet for the
serviceUrl.createService in class FederatedServiceResolverBaseserviceUrl - the service IRIFederatedServiceQueryEvaluationExceptionpublic void shutDown()
shutDown in class FederatedServiceResolverBaseCopyright © 2001-2015 Aduna. All Rights Reserved.