public class FedXRepositoryFactory extends Object implements RepositoryFactory
RepositoryFactory
to use FedX in settings with a repository manager, e.g. in the RDF4J workbench.
See FedXRepositoryConfig
for the configuration.
FedXRepositoryConfig
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
static String |
REPOSITORY_TYPE |
Constructor and Description |
---|
FedXRepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
FedXRepositoryConfig |
getConfig() |
Repository |
getRepository(RepositoryImplConfig config)
Returns a Repository instance that has been initialized using the supplied configuration data.
|
String |
getRepositoryType()
Returns the type of the repositories that this factory creates.
|
public static final String REPOSITORY_TYPE
protected static final org.slf4j.Logger log
public String getRepositoryType()
RepositoryFactory
getRepositoryType
in interface RepositoryFactory
public FedXRepositoryConfig getConfig()
getConfig
in interface RepositoryFactory
public Repository getRepository(RepositoryImplConfig config) throws RepositoryConfigException
RepositoryFactory
getRepository
in interface RepositoryFactory
config
- TODORepositoryConfigException
- If no repository could be created due to invalid or incomplete configuration
data.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.