com.evolveum.midpoint.repo.sql
Class SqlRepositoryFactory
java.lang.Object
com.evolveum.midpoint.repo.sql.SqlRepositoryFactory
- All Implemented Interfaces:
- RepositoryServiceFactory
- Direct Known Subclasses:
- TestSqlRepositoryFactory
public class SqlRepositoryFactory
- extends Object
- implements RepositoryServiceFactory
- Author:
- lazyman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlRepositoryFactory
public SqlRepositoryFactory()
getSqlConfiguration
public SqlRepositoryConfiguration getSqlConfiguration()
destroy
public void destroy()
throws RepositoryServiceFactoryException
- Specified by:
destroy
in interface RepositoryServiceFactory
- Throws:
RepositoryServiceFactoryException
destroyService
public void destroyService(RepositoryService service)
throws RepositoryServiceFactoryException
- Specified by:
destroyService
in interface RepositoryServiceFactory
- Throws:
RepositoryServiceFactoryException
init
public void init(org.apache.commons.configuration.Configuration configuration)
throws RepositoryServiceFactoryException
- Specified by:
init
in interface RepositoryServiceFactory
- Throws:
RepositoryServiceFactoryException
getRepositoryService
public RepositoryService getRepositoryService()
throws RepositoryServiceFactoryException
- Specified by:
getRepositoryService
in interface RepositoryServiceFactory
- Throws:
RepositoryServiceFactoryException
prepareJdbcUrlPrefix
public String prepareJdbcUrlPrefix(SqlRepositoryConfiguration config)
throws RepositoryServiceFactoryException
- Prepares a prefix (first part) of JDBC URL for embedded database. Used also by configurator of tasks (quartz)
and workflow (activiti) modules; they add their own db names and parameters to this string.
- Parameters:
config
-
- Returns:
- prefix of JDBC URL like jdbc:h2:file:d:\midpoint\midpoint
- Throws:
RepositoryServiceFactoryException
getPerformanceMonitor
public SqlPerformanceMonitor getPerformanceMonitor()
Copyright © 2013 evolveum. All Rights Reserved.