Class FedXRepositoryFactory
java.lang.Object
org.eclipse.rdf4j.federated.repository.FedXRepositoryFactory
- All Implemented Interfaces:
RepositoryFactory
A
RepositoryFactory to use FedX in settings with a repository manager, e.g. in the RDF4J workbench.
See FedXRepositoryConfig for the configuration.
- Author:
- Andreas Schwarte
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRepository(RepositoryImplConfig config) Returns a Repository instance that has been initialized using the supplied configuration data.Returns the type of the repositories that this factory creates.
-
Field Details
-
REPOSITORY_TYPE
- See Also:
-
log
protected static final org.slf4j.Logger log
-
-
Constructor Details
-
FedXRepositoryFactory
public FedXRepositoryFactory()
-
-
Method Details
-
getRepositoryType
Description copied from interface:RepositoryFactoryReturns the type of the repositories that this factory creates. Repository types are used for identification and should uniquely identify specific implementations of the Repository API. This type can be equal to the fully qualified class name of the repository, but this is not required.- Specified by:
getRepositoryTypein interfaceRepositoryFactory
-
getConfig
- Specified by:
getConfigin interfaceRepositoryFactory
-
getRepository
Description copied from interface:RepositoryFactoryReturns a Repository instance that has been initialized using the supplied configuration data.- Specified by:
getRepositoryin interfaceRepositoryFactory- Parameters:
config- TODO- Returns:
- The created (but un-initialized) repository.
- Throws:
RepositoryConfigException- If no repository could be created due to invalid or incomplete configuration data.
-