public class SqlRepositoryFactory extends Object implements RepositoryServiceFactory
Constructor and Description |
---|
SqlRepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
destroyService(RepositoryService service) |
SqlPerformanceMonitor |
getPerformanceMonitor() |
RepositoryService |
getRepositoryService() |
SqlRepositoryConfiguration |
getSqlConfiguration() |
void |
init(org.apache.commons.configuration.Configuration configuration) |
String |
prepareJdbcUrlPrefix(SqlRepositoryConfiguration config)
Prepares a prefix (first part) of JDBC URL for embedded database.
|
public SqlRepositoryConfiguration getSqlConfiguration()
public void destroy() throws RepositoryServiceFactoryException
destroy
in interface RepositoryServiceFactory
RepositoryServiceFactoryException
public void destroyService(RepositoryService service) throws RepositoryServiceFactoryException
destroyService
in interface RepositoryServiceFactory
RepositoryServiceFactoryException
public void init(org.apache.commons.configuration.Configuration configuration) throws RepositoryServiceFactoryException
init
in interface RepositoryServiceFactory
RepositoryServiceFactoryException
public RepositoryService getRepositoryService() throws RepositoryServiceFactoryException
getRepositoryService
in interface RepositoryServiceFactory
RepositoryServiceFactoryException
public String prepareJdbcUrlPrefix(SqlRepositoryConfiguration config) throws RepositoryServiceFactoryException
config
- RepositoryServiceFactoryException
public SqlPerformanceMonitor getPerformanceMonitor()
Copyright © 2016 evolveum. All rights reserved.