public class RepositoryInstatiator extends Object
Repository interface| Modifier and Type | Field and Description |
|---|---|
static String |
REPOSITORY_PREFIX |
| Constructor and Description |
|---|
RepositoryInstatiator() |
| Modifier and Type | Method and Description |
|---|---|
static Repository |
newRepository(String factory,
Map<String,String> params)
Create new repository instance.
|
static Repository |
newRepository(String configName,
org.springframework.core.env.PropertyResolver propertyResolver)
Create new repository instance.
|
public static final String REPOSITORY_PREFIX
public static Repository newRepository(String configName, org.springframework.core.env.PropertyResolver propertyResolver) throws RRepositoryException
configName - the name of the configuration, e.g. design, deploy-config or production like.propertyResolver - the propertyResolver of the app.RRepositoryExceptionpublic static Repository newRepository(String factory, Map<String,String> params)
factory - the class name to instantiate.params - the initialization parameters.Copyright © 2004–2020 OpenL Tablets. All rights reserved.