|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.repository.contextaware.config.ContextAwareFactory
org.openrdf.repository.object.config.ObjectRepositoryFactory
public class ObjectRepositoryFactory
Creates ObjectRepository from any Repository.
| Field Summary | |
|---|---|
static String |
REPOSITORY_TYPE
The type of repositories that are created by this factory. |
| Constructor Summary | |
|---|---|
ObjectRepositoryFactory()
|
|
| Method Summary | |
|---|---|
protected LiteralManager |
createLiteralManager(ValueFactory uf,
ValueFactory lf)
|
protected ObjectRepository |
createObjectRepository(RoleMapper mapper,
LiteralManager literals,
ClassLoader cl)
|
ObjectRepository |
createRepository(ObjectRepositoryConfig config,
Repository delegate)
Create an ObjectRepository from a previously initialised delegate. |
ObjectRepository |
createRepository(Repository delegate)
Create an ObjectRepository from a previously initialised delegate. |
protected RoleMapper |
createRoleMapper(ValueFactory vf)
|
ObjectRepositoryConfig |
getConfig()
|
ObjectRepository |
getRepository(RepositoryImplConfig configuration)
Create an uninitialised ObjectRepository without a delegate. |
String |
getRepositoryType()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String REPOSITORY_TYPE
RepositoryFactory.getRepositoryType(),
Constant Field Values| Constructor Detail |
|---|
public ObjectRepositoryFactory()
| Method Detail |
|---|
public String getRepositoryType()
getRepositoryType in interface RepositoryFactorygetRepositoryType in class ContextAwareFactorypublic ObjectRepositoryConfig getConfig()
getConfig in interface RepositoryFactorygetConfig in class ContextAwareFactory
public ObjectRepository createRepository(ObjectRepositoryConfig config,
Repository delegate)
throws RepositoryConfigException,
RepositoryException
RepositoryConfigException
RepositoryException
public ObjectRepository createRepository(Repository delegate)
throws RepositoryConfigException,
RepositoryException
RepositoryConfigException
RepositoryException
public ObjectRepository getRepository(RepositoryImplConfig configuration)
throws RepositoryConfigException
getRepository in interface RepositoryFactorygetRepository in class ContextAwareFactoryRepositoryConfigException
protected LiteralManager createLiteralManager(ValueFactory uf,
ValueFactory lf)
protected RoleMapper createRoleMapper(ValueFactory vf)
throws ObjectStoreConfigException
ObjectStoreConfigException
protected ObjectRepository createObjectRepository(RoleMapper mapper,
LiteralManager literals,
ClassLoader cl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||