Class SqaleAuditServiceFactory
- java.lang.Object
-
- com.evolveum.midpoint.repo.sqale.audit.SqaleAuditServiceFactory
-
- All Implemented Interfaces:
AuditServiceFactory
public class SqaleAuditServiceFactory extends Object implements AuditServiceFactory
AuditServiceFactory
forSqaleAuditService
, that is DB-based auditing.This works only with new (`sqale`) repository, which is handled by condition in
SqaleRepositoryBeanConfig
. If this class is specified in `config.xml` as audit factory without new repository, it fails because it will not be found as a bean.
-
-
Constructor Summary
Constructors Constructor Description SqaleAuditServiceFactory(SqaleRepositoryConfiguration sqaleRepositoryConfiguration, SchemaService schemaService, DataSource repositoryDataSource, SqlPerformanceMonitorsCollection sqlPerformanceMonitorsCollection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqaleAuditService
createAuditService()
void
destroy()
void
init(@NotNull org.apache.commons.configuration2.Configuration configuration)
-
-
-
Constructor Detail
-
SqaleAuditServiceFactory
public SqaleAuditServiceFactory(SqaleRepositoryConfiguration sqaleRepositoryConfiguration, SchemaService schemaService, DataSource repositoryDataSource, SqlPerformanceMonitorsCollection sqlPerformanceMonitorsCollection)
-
-
Method Detail
-
init
public void init(@NotNull @NotNull org.apache.commons.configuration2.Configuration configuration) throws AuditServiceFactoryException
- Specified by:
init
in interfaceAuditServiceFactory
- Throws:
AuditServiceFactoryException
-
createAuditService
public SqaleAuditService createAuditService()
- Specified by:
createAuditService
in interfaceAuditServiceFactory
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceAuditServiceFactory
-
-