Class HTTPRepositoryFactory
java.lang.Object
org.eclipse.rdf4j.repository.http.config.HTTPRepositoryFactory
- All Implemented Interfaces:
RepositoryFactory
A
RepositoryFactory
that creates HTTPRepository
s based on RDF configuration data.- Author:
- Arjohn Kampman
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The type of repositories that are created by this factory. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRepository
(RepositoryImplConfig config) Returns a Repository instance that has been initialized using the supplied configuration data.Returns the repository's type: openrdf:HTTPRepository.
-
Field Details
-
REPOSITORY_TYPE
The type of repositories that are created by this factory.- See Also:
-
-
Constructor Details
-
HTTPRepositoryFactory
public HTTPRepositoryFactory()
-
-
Method Details
-
getRepositoryType
Returns the repository's type: openrdf:HTTPRepository.- Specified by:
getRepositoryType
in interfaceRepositoryFactory
-
getConfig
- Specified by:
getConfig
in interfaceRepositoryFactory
-
getRepository
Description copied from interface:RepositoryFactory
Returns a Repository instance that has been initialized using the supplied configuration data.- Specified by:
getRepository
in 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.
-