Interface RepositoryImplConfig
-
- All Known Subinterfaces:
DelegatingRepositoryImplConfig
- All Known Implementing Classes:
AbstractDelegatingRepositoryImplConfig
,AbstractRepositoryImplConfig
,ContextAwareConfig
,DatasetRepositoryConfig
,FedXRepositoryConfig
,HTTPRepositoryConfig
,ProxyRepositoryConfig
,SailRepositoryConfig
,SPARQLRepositoryConfig
public interface RepositoryImplConfig
ARepositoryImplConfig
represents configuration details specific to a particular implementation of theRepository
interface.- Author:
- Arjohn Kampman
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resource
export(Model model)
Export thisRepositoryImplConfig
to its RDF representationString
getType()
void
parse(Model model, Resource resource)
Reads the properties of thisRepositoryImplConfig
from the supplied Model and sets them accordingly.void
validate()
Validates this configuration.
-
-
-
Method Detail
-
getType
String getType()
-
validate
void validate() throws RepositoryConfigException
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
Resource export(Model model)
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
void parse(Model model, Resource resource) throws RepositoryConfigException
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.
-
-