com.evolveum.midpoint.repo.sql.testing
Class TestSqlRepositoryFactory

java.lang.Object
  extended by com.evolveum.midpoint.repo.sql.SqlRepositoryFactory
      extended by 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

Field Summary
static String PROPERTY_CONFIG
           
 
Constructor Summary
TestSqlRepositoryFactory()
           
 
Method Summary
 void init(org.apache.commons.configuration.Configuration configuration)
           
 
Methods inherited from class com.evolveum.midpoint.repo.sql.SqlRepositoryFactory
destroy, destroyService, getPerformanceMonitor, getRepositoryService, getSqlConfiguration, prepareJdbcUrlPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_CONFIG

public static final String PROPERTY_CONFIG
See Also:
Constant Field Values
Constructor Detail

TestSqlRepositoryFactory

public TestSqlRepositoryFactory()
Method Detail

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.