|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.repository.manager.RepositoryProvider
public class RepositoryProvider
A static access point to manage RepositoryManagers that are automatically shutdown when the JVM is closed.
| Constructor Summary | |
|---|---|
RepositoryProvider()
|
|
| Method Summary | |
|---|---|
static RepositoryConnection |
getConnection(String url)
Created a new RepositoryConnection, that must be closed by the caller. |
static Repository |
getRepository(String url)
Created a Repository, if not already created, that will be shutdown when the JVM exits cleanly. |
static RepositoryManager |
getRepositoryManager(String url)
Creates a RepositoryManager, if not already created, that will be shutdown when the JVM exits cleanly. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryProvider()
| Method Detail |
|---|
public static RepositoryManager getRepositoryManager(String url)
throws RepositoryConfigException,
RepositoryException
RepositoryConfigException
RepositoryException
public static Repository getRepository(String url)
throws RepositoryException,
RepositoryConfigException
RepositoryException
RepositoryConfigException
public static RepositoryConnection getConnection(String url)
throws RepositoryException,
RepositoryConfigException
RepositoryException
RepositoryConfigException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||