public class ProxyRepositoryFactory extends Object implements RepositoryFactory, RepositoryResolverClient
Modifier and Type | Field and Description |
---|---|
static String |
REPOSITORY_TYPE
The type of repositories that are created by this factory.
|
Constructor and Description |
---|
ProxyRepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
RepositoryImplConfig |
getConfig() |
Repository |
getRepository(RepositoryImplConfig config)
Returns a Repository instance that has been initialized using the supplied
configuration data.
|
String |
getRepositoryType()
Returns the type of the repositories that this factory creates.
|
void |
setRepositoryResolver(RepositoryResolver resolver) |
public static final String REPOSITORY_TYPE
public void setRepositoryResolver(RepositoryResolver resolver)
setRepositoryResolver
in interface RepositoryResolverClient
public String getRepositoryType()
RepositoryFactory
getRepositoryType
in interface RepositoryFactory
public RepositoryImplConfig getConfig()
getConfig
in interface RepositoryFactory
public Repository getRepository(RepositoryImplConfig config) throws RepositoryConfigException
RepositoryFactory
getRepository
in interface RepositoryFactory
config
- TODORepositoryConfigException
- If no repository could be created due to invalid or incomplete
configuration data.Copyright © 2001-2016 Aduna. All Rights Reserved.