Class RepositoryEndpointProvider
- java.lang.Object
-
- org.eclipse.rdf4j.federated.endpoint.provider.RepositoryEndpointProvider
-
- All Implemented Interfaces:
EndpointProvider<RepositoryInformation>
public class RepositoryEndpointProvider extends Object implements EndpointProvider<RepositoryInformation>
Returns anEndpointfor an already configuredRepository.If the repository is already initialized, it is assumed that the lifecycle is managed externally (see
RepositoryEndpoint. Otherwise, FedX will make sure to take care for the lifecycle of the repository, i.e. initialize and shutdown (seeManagedRepositoryEndpoint).- Author:
- Andreas Schwarte
- See Also:
RepositoryEndpoint,ManagedRepositoryEndpoint
-
-
Field Summary
Fields Modifier and Type Field Description protected Repositoryrepository
-
Constructor Summary
Constructors Constructor Description RepositoryEndpointProvider(Repository repository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointloadEndpoint(RepositoryInformation repoInfo)
-
-
-
Field Detail
-
repository
protected final Repository repository
-
-
Constructor Detail
-
RepositoryEndpointProvider
public RepositoryEndpointProvider(Repository repository)
-
-
Method Detail
-
loadEndpoint
public Endpoint loadEndpoint(RepositoryInformation repoInfo) throws FedXException
- Specified by:
loadEndpointin interfaceEndpointProvider<RepositoryInformation>- Throws:
FedXException
-
-