Class RepositoryConfigRepository
- java.lang.Object
-
- org.eclipse.rdf4j.repository.base.AbstractRepository
-
- org.eclipse.rdf4j.http.server.repository.RepositoryConfigRepository
-
- All Implemented Interfaces:
org.eclipse.rdf4j.repository.Repository
public class RepositoryConfigRepository extends org.eclipse.rdf4j.repository.base.AbstractRepositoryRepositoryimplementation that savesRepositoryConfigRDF to aRepositoryManager.- Author:
- James Leigh
-
-
Constructor Summary
Constructors Constructor Description RepositoryConfigRepository(org.eclipse.rdf4j.repository.manager.RepositoryManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.rdf4j.repository.RepositoryConnectiongetConnection()FilegetDataDir()org.eclipse.rdf4j.model.ValueFactorygetValueFactory()protected voidinitializeInternal()booleanisWritable()voidsetDataDir(File dataDir)protected voidshutDownInternal()
-
-
-
Field Detail
-
ID
public static final String ID
The repository identifier for the system repository that contains the configuration data.- See Also:
- Constant Field Values
-
-
Method Detail
-
setDataDir
public void setDataDir(File dataDir)
-
getDataDir
public File getDataDir()
-
isWritable
public boolean isWritable() throws org.eclipse.rdf4j.repository.RepositoryException- Throws:
org.eclipse.rdf4j.repository.RepositoryException
-
getValueFactory
public org.eclipse.rdf4j.model.ValueFactory getValueFactory()
-
initializeInternal
protected void initializeInternal() throws org.eclipse.rdf4j.repository.RepositoryException- Specified by:
initializeInternalin classorg.eclipse.rdf4j.repository.base.AbstractRepository- Throws:
org.eclipse.rdf4j.repository.RepositoryException
-
shutDownInternal
protected void shutDownInternal() throws org.eclipse.rdf4j.repository.RepositoryException- Specified by:
shutDownInternalin classorg.eclipse.rdf4j.repository.base.AbstractRepository- Throws:
org.eclipse.rdf4j.repository.RepositoryException
-
getConnection
public org.eclipse.rdf4j.repository.RepositoryConnection getConnection() throws org.eclipse.rdf4j.repository.RepositoryException- Throws:
org.eclipse.rdf4j.repository.RepositoryException
-
-