Package com.aquima.web.config
Class AquimaConfig
java.lang.Object
com.aquima.web.config.AquimaConfig
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Configuration
@EnableScheduling
@Import(BlueriqEncryptorConfig.class)
public class AquimaConfig
extends Object
implements org.springframework.context.ApplicationContextAware
This is the main configuration file for configuring your Aquima web application.
- Since:
- 8.0
- Author:
- Danny Roest, Vincent Jansen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.blueriq.component.api.ApplicationFinder
applicationFinder
(com.aquima.interactions.portal.IPortalEngine portalEngine, com.aquima.interactions.process.IProcessEngineSettings processEngineSettings) com.blueriq.component.api.AquimaBeanProvider
com.blueriq.component.api.datasource.AquimaDataSource
com.blueriq.component.api.datasource.AquimaDataSource
exportDataSource
(com.blueriq.component.api.IAquimaEngineConfiguration aquimaEngineConfiguration, ExportProperties exportProperties) Creates an Aquima datasource for xml project exports.protected org.springframework.context.ApplicationContext
org.springframework.security.web.firewall.HttpFirewall
com.blueriq.component.api.i18n.IMessageProvider
messageProvider
(com.blueriq.component.api.IAquimaEngineConfiguration aquimaConfig) com.aquima.interactions.portal.IPortalEngine
portalEngine
(com.aquima.interactions.process.IProcessEngineManager processEngineManager, ApplicationContextCompositeDs compositeDataSource, com.aquima.interactions.foundation.ILicenseProvider licenseProvider, com.aquima.interactions.foundation.logging.audit.IAuditEngine auditEngine, com.aquima.interactions.portal.ICommentsManager commentsManager) com.aquima.interactions.process.ProcessSettings
processSettings
(ProcessEngineProperties processEngineProperties, ProcessListProperties processListProperties, com.blueriq.datasource.util.config.IDataSourceConfiguration dataSourceConfiguration) runtimeKeyMapper
(RuntimeKeysProperties runtimeKeysProperties) com.aquima.interactions.process.scheduler.IScheduler
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) com.aquima.interactions.foundation.timer.ITimer
timerForAquimaConfiguration
(TimerSetting setting)
-
Constructor Details
-
Method Details
-
httpFirewall
@Bean public org.springframework.security.web.firewall.HttpFirewall httpFirewall() -
languageFormats
- Throws:
IOException
-
messageProvider
@Bean @RefreshScope public com.blueriq.component.api.i18n.IMessageProvider messageProvider(com.blueriq.component.api.IAquimaEngineConfiguration aquimaConfig) -
aquimaBeanProvider
@Bean public com.blueriq.component.api.AquimaBeanProvider aquimaBeanProvider() -
portalEngine
@Bean @RefreshScope public com.aquima.interactions.portal.IPortalEngine portalEngine(com.aquima.interactions.process.IProcessEngineManager processEngineManager, ApplicationContextCompositeDs compositeDataSource, com.aquima.interactions.foundation.ILicenseProvider licenseProvider, com.aquima.interactions.foundation.logging.audit.IAuditEngine auditEngine, com.aquima.interactions.portal.ICommentsManager commentsManager) -
processSettings
@Bean @RefreshScope public com.aquima.interactions.process.ProcessSettings processSettings(ProcessEngineProperties processEngineProperties, ProcessListProperties processListProperties, com.blueriq.datasource.util.config.IDataSourceConfiguration dataSourceConfiguration) -
applicationFinder
@Bean @RefreshScope public com.blueriq.component.api.ApplicationFinder applicationFinder(com.aquima.interactions.portal.IPortalEngine portalEngine, com.aquima.interactions.process.IProcessEngineSettings processEngineSettings) -
scheduler
@Bean @ConditionalOnMissingBean(com.aquima.interactions.process.scheduler.IScheduler.class) public com.aquima.interactions.process.scheduler.IScheduler scheduler() -
timerForAquimaConfiguration
@Bean @Profile("!case-engine") public com.aquima.interactions.foundation.timer.ITimer timerForAquimaConfiguration(TimerSetting setting) -
exportDataSource
@Bean @RefreshScope @ConditionalOnProperty(value="blueriq.exports.enabled", havingValue="true") public com.blueriq.component.api.datasource.AquimaDataSource exportDataSource(com.blueriq.component.api.IAquimaEngineConfiguration aquimaEngineConfiguration, ExportProperties exportProperties) Creates an Aquima datasource for xml project exports.Note: Using a folder only works if the folder is NOT in a WAR/EAR file.
- Parameters:
aquimaEngineConfiguration
- the configuration of the aquimaengineIAquimaEngineConfiguration
exportProperties
- the export properties containing the location of the exports- Returns:
- the aquima datasource
-
emptyAquimaDataSource
@Bean @RefreshScope @ConditionalOnMissingBean(com.blueriq.component.api.datasource.AquimaDataSource.class) public com.blueriq.component.api.datasource.AquimaDataSource emptyAquimaDataSource() -
runtimeKeyMapper
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext()
-