public class TestSqlRepositoryFactory extends SqlRepositoryFactory
SqlRepositoryFactory
,
but during configuration initialization it checks system properties and overrides loaded configuration
(SqlRepositoryConfiguration
).Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_CONFIG |
Constructor and Description |
---|
TestSqlRepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
RepositoryService |
getRepositoryService() |
void |
init(org.apache.commons.configuration.Configuration configuration) |
destroy, destroyService, getPerformanceMonitor, getSqlConfiguration, prepareJdbcUrlPrefix
public static final String PROPERTY_CONFIG
public void init(org.apache.commons.configuration.Configuration configuration) throws RepositoryServiceFactoryException
init
in interface RepositoryServiceFactory
init
in class SqlRepositoryFactory
RepositoryServiceFactoryException
public RepositoryService getRepositoryService() throws RepositoryServiceFactoryException
getRepositoryService
in interface RepositoryServiceFactory
getRepositoryService
in class SqlRepositoryFactory
RepositoryServiceFactoryException
Copyright © 2016 evolveum. All rights reserved.