Interface RepositoryImplConfig
- All Known Subinterfaces:
DelegatingRepositoryImplConfig
- All Known Implementing Classes:
AbstractDelegatingRepositoryImplConfig
,AbstractRepositoryImplConfig
,ContextAwareConfig
,DatasetRepositoryConfig
,FedXRepositoryConfig
,HTTPRepositoryConfig
,ProxyRepositoryConfig
,SailRepositoryConfig
,SPARQLRepositoryConfig
public interface RepositoryImplConfig
A
RepositoryImplConfig
represents configuration details specific to a particular implementation of the
Repository
interface.- Author:
- Arjohn Kampman
-
Method Summary
Modifier and TypeMethodDescriptionExport thisRepositoryImplConfig
to its RDF representationgetType()
void
Reads the properties of thisRepositoryImplConfig
from the supplied Model and sets them accordingly.void
validate()
Validates this configuration.
-
Method Details
-
getType
String getType() -
validate
Validates this configuration. ARepositoryConfigException
is thrown when the configuration is invalid. The exception should contain an error message that indicates why the configuration is invalid.- Throws:
RepositoryConfigException
- If the configuration is invalid.
-
export
Export thisRepositoryImplConfig
to its RDF representation- Parameters:
model
- aModel
object. After successful completion of this method this Model will contain the RDF representation of thisRepositoryImplConfig
.- Returns:
- the subject
Resource
that identifies thisRepositoryImplConfig
in the Model.
-
parse
Reads the properties of thisRepositoryImplConfig
from the supplied Model and sets them accordingly.- Parameters:
model
- aModel
containing repository configuration data.resource
- the subjectResource
that identifies theRepositoryImplConfig
in the Model.- Throws:
RepositoryConfigException
- if the configuration data could not be read from the supplied Model.
-