org.openrdf.repository.sail.config
Class SailRepositoryFactory
java.lang.Object
org.openrdf.repository.sail.config.SailRepositoryFactory
- All Implemented Interfaces:
- RepositoryFactory
public class SailRepositoryFactory
- extends java.lang.Object
- implements RepositoryFactory
A RepositoryFactory that creates SailRepositorys based on
RDF configuration data.
- Author:
- Arjohn Kampman
|
Field Summary |
static java.lang.String |
REPOSITORY_TYPE
The type of repositories that are created by this factory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPOSITORY_TYPE
public static final java.lang.String REPOSITORY_TYPE
- The type of repositories that are created by this factory.
- See Also:
RepositoryFactory.getRepositoryType(),
Constant Field Values
SailRepositoryFactory
public SailRepositoryFactory()
getRepositoryType
public java.lang.String getRepositoryType()
- Returns the repository's type: openrdf:SailRepository.
- Specified by:
getRepositoryType in interface RepositoryFactory
getConfig
public RepositoryImplConfig getConfig()
- Specified by:
getConfig in interface RepositoryFactory
getRepository
public Repository getRepository(RepositoryImplConfig config)
throws RepositoryConfigException
- Description copied from interface:
RepositoryFactory
- Returns a Repository instance that has been initialized using the supplied
configuration data.
- Specified by:
getRepository in interface RepositoryFactory
- Parameters:
config - TODO
- Returns:
- The created (but un-initialized) repository.
- Throws:
RepositoryConfigException - If no repository could be created due to invalid or incomplete
configuration data.
Copyright © 2001-2010 Aduna. All Rights Reserved.