Interface RepositoryImplConfig
-
- All Known Subinterfaces:
DelegatingRepositoryImplConfig
- All Known Implementing Classes:
AbstractDelegatingRepositoryImplConfig,AbstractRepositoryImplConfig,ContextAwareConfig,DatasetRepositoryConfig,HTTPRepositoryConfig,ProxyRepositoryConfig,SailRepositoryConfig,SPARQLRepositoryConfig
public interface RepositoryImplConfigARepositoryImplConfigrepresents configuration details specific to a particular implementation of theRepositoryinterface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resourceexport(Model model)Export thisRepositoryImplConfigto its RDF representationjava.lang.StringgetType()voidparse(Model model, Resource resource)Reads the properties of thisRepositoryImplConfigfrom the supplied Model and sets them accordingly.voidvalidate()Validates this configuration.
-
-
-
Method Detail
-
getType
java.lang.String getType()
-
validate
void validate() throws RepositoryConfigExceptionValidates this configuration. ARepositoryConfigExceptionis 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 thisRepositoryImplConfigto its RDF representation- Parameters:
model- aModelobject. After successful completion of this method this Model will contain the RDF representation of thisRepositoryImplConfig.- Returns:
- the subject
Resourcethat identifies thisRepositoryImplConfigin the Model.
-
parse
void parse(Model model, Resource resource) throws RepositoryConfigException
Reads the properties of thisRepositoryImplConfigfrom the supplied Model and sets them accordingly.- Parameters:
model- aModelcontaining repository configuration data.resource- the subjectResourcethat identifies theRepositoryImplConfigin the Model.- Throws:
RepositoryConfigException- if the configuration data could not be read from the supplied Model.
-
-