com.evolveum.midpoint.repo.sql.testing
Class TestSqlRepositoryFactory
java.lang.Object
com.evolveum.midpoint.repo.sql.SqlRepositoryFactory
com.evolveum.midpoint.repo.sql.testing.TestSqlRepositoryFactory
- All Implemented Interfaces:
- RepositoryServiceFactory
public class TestSqlRepositoryFactory
- extends SqlRepositoryFactory
This repository factory should be used for testing purposes only. It behaves like SqlRepositoryFactory
,
but during configuration initialization it checks system properties and overrides loaded configuration
(SqlRepositoryConfiguration
).
- Author:
- lazyman
Method Summary |
void |
init(org.apache.commons.configuration.Configuration configuration)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_CONFIG
public static final String PROPERTY_CONFIG
- See Also:
- Constant Field Values
TestSqlRepositoryFactory
public TestSqlRepositoryFactory()
init
public void init(org.apache.commons.configuration.Configuration configuration)
throws RepositoryServiceFactoryException
- Specified by:
init
in interface RepositoryServiceFactory
- Overrides:
init
in class SqlRepositoryFactory
- Throws:
RepositoryServiceFactoryException
Copyright © 2013 evolveum. All Rights Reserved.