org.openrdf.repository.query.config
Class NamedQueryRepositoryFactory
java.lang.Object
org.openrdf.repository.query.config.NamedQueryRepositoryFactory
- All Implemented Interfaces:
- RepositoryFactory
public class NamedQueryRepositoryFactory
- extends Object
- implements RepositoryFactory
Factory for Named Query Repositories
- Author:
- Steve Battle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPOSITORY_TYPE
public static final String REPOSITORY_TYPE
- See Also:
- Constant Field Values
NamedQueryRepositoryFactory
public NamedQueryRepositoryFactory()
getRepositoryType
public String getRepositoryType()
- Specified by:
getRepositoryType in interface RepositoryFactory
getConfig
public RepositoryImplConfig getConfig()
- Specified by:
getConfig in interface RepositoryFactory
createRepository
public NamedQueryRepository createRepository(Repository delegate)
throws RepositoryConfigException,
RepositoryException
- Create a Repository from a previously initialised delegate.
- Throws:
RepositoryConfigException
RepositoryException
createRepository
public NamedQueryRepository createRepository(RepositoryImplConfig config,
Repository delegate)
throws RepositoryConfigException,
RepositoryException
- Create a Repository from a previously initialised delegate (with config).
- Throws:
RepositoryConfigException
RepositoryException
getRepository
public NamedQueryRepository getRepository(RepositoryImplConfig configuration)
throws RepositoryConfigException
- Create an uninitialised Repository without a delegate.
NO DATA-DIR CONFIGURED FOR PERSISTENCE
- Specified by:
getRepository in interface RepositoryFactory
- Throws:
RepositoryConfigException
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.