Class SqaleRepositoryBeanConfig

java.lang.Object
com.evolveum.midpoint.repo.sqale.SqaleRepositoryBeanConfig

@Configuration @ConditionalOnExpression("#{midpointConfiguration.keyMatches(\'midpoint.repository.type\', \'(?i)s[qc]ale|native\')}") @ComponentScan public class SqaleRepositoryBeanConfig extends Object
New SQL repository related configuration. ConditionalOnMissingBean annotations are used to avoid duplicate bean acquirement that would happen when combined with alternative configurations (e.g. context XMLs for test). ConditionalOnExpression class annotation activates this configuration only if midpoint config.xml specifies the repository factory class from SQL package. To choose this "new SQL" repository set `type` element under `repository` to contain either `sqale`, `scale` or `native` (name used in docs). All values are case-insensitive.