public Repository getRepository(RepositoryImplConfig config)
throws RepositoryConfigException
{
if (config instanceof DatasetRepositoryConfig) {
return new DatasetRepository();
}
throw new RepositoryConfigException("Invalid configuration class: " + config.getClass());
}