Class SqaleAuditServiceFactory
java.lang.Object
com.evolveum.midpoint.repo.sqale.audit.SqaleAuditServiceFactory
- All Implemented Interfaces:
AuditServiceFactory
AuditServiceFactory
for SqaleAuditService
, 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
ConstructorDescriptionSqaleAuditServiceFactory
(SqaleRepositoryConfiguration sqaleRepositoryConfiguration, SchemaService schemaService, DataSource repositoryDataSource, SqlPerformanceMonitorsCollection sqlPerformanceMonitorsCollection) -
Method Summary
-
Constructor Details
-
SqaleAuditServiceFactory
public SqaleAuditServiceFactory(SqaleRepositoryConfiguration sqaleRepositoryConfiguration, SchemaService schemaService, DataSource repositoryDataSource, SqlPerformanceMonitorsCollection sqlPerformanceMonitorsCollection)
-
-
Method Details
-
init
public void init(@NotNull @NotNull org.apache.commons.configuration2.Configuration configuration) throws AuditServiceFactoryException - Specified by:
init
in interfaceAuditServiceFactory
- Throws:
AuditServiceFactoryException
-
createAuditService
- Specified by:
createAuditService
in interfaceAuditServiceFactory
-
destroy
public void destroy()- Specified by:
destroy
in interfaceAuditServiceFactory
-