public class RepositoryProvider extends Object
Constructor and Description |
---|
RepositoryProvider() |
Modifier and Type | Method and Description |
---|---|
static Repository |
getRepository(String url)
Created a Repository, if not already created, that will be shutdown when
the JVM exits cleanly.
|
static String |
getRepositoryIdOfRepository(String url)
Returns the Repository ID that will be passed to a RepositoryManager for the given repository
URL.
|
static LocalRepositoryManager |
getRepositoryManager(File dir)
Creates a LocalRepositoryManager, 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.
|
static RepositoryManager |
getRepositoryManagerOfRepository(String url)
Returns the RepositoryManager that will be used for the given repository
URL.
|
public static RepositoryManager getRepositoryManager(String url) throws RepositoryConfigException, RepositoryException
public static LocalRepositoryManager getRepositoryManager(File dir) throws RepositoryConfigException, RepositoryException
public static RepositoryManager getRepositoryManagerOfRepository(String url) throws RepositoryConfigException, RepositoryException
public static String getRepositoryIdOfRepository(String url)
public static Repository getRepository(String url) throws RepositoryException, RepositoryConfigException
RepositoryException
RepositoryConfigException
Copyright © 2001-2016 Aduna. All Rights Reserved.