public final class Repositories
extends java.lang.Object
| Constructor and Description |
|---|
Repositories() |
| Modifier and Type | Method and Description |
|---|---|
static MDSRepository |
getRepository()
Get a MDSRepository instance corresponding to the current MDS configuration.
|
static MDSRepository |
getRepository(java.lang.String name)
Get a MDSRepository instance corresponding to an MDS configuration.
|
public static MDSRepository getRepository() throws RepositoryException
RepositoryExceptionpublic static MDSRepository getRepository(java.lang.String name) throws RepositoryException
name parameter is null, the MDS configuration is obtained from the current ADF configuration typically defined in adf-config.xml. Otherwise name is the name of the desired MDS configuration.RepositoryException