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 Details Link icon

    • AquimaConfig Link icon

      public AquimaConfig()
  • Method Details Link icon

    • httpFirewall Link icon

      @Bean public org.springframework.security.web.firewall.HttpFirewall httpFirewall()
    • languageFormats Link icon

      @Bean("languageFormats") @RefreshScope public LanguageFormats languageFormats() throws IOException
      Throws:
      IOException
    • messageProvider Link icon

      @Bean @RefreshScope public com.blueriq.component.api.i18n.IMessageProvider messageProvider(com.blueriq.component.api.IAquimaEngineConfiguration aquimaConfig)
    • aquimaBeanProvider Link icon

      @Bean public com.blueriq.component.api.AquimaBeanProvider aquimaBeanProvider()
    • portalEngine Link icon

      @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 Link icon

      @Bean @RefreshScope public com.aquima.interactions.process.ProcessSettings processSettings(ProcessEngineProperties processEngineProperties, ProcessListProperties processListProperties, com.blueriq.datasource.util.config.IDataSourceConfiguration dataSourceConfiguration)
    • applicationFinder Link icon

      @Bean @RefreshScope public com.blueriq.component.api.ApplicationFinder applicationFinder(com.aquima.interactions.portal.IPortalEngine portalEngine, com.aquima.interactions.process.IProcessEngineSettings processEngineSettings)
    • scheduler Link icon

      @Bean @ConditionalOnMissingBean(com.aquima.interactions.process.scheduler.IScheduler.class) public com.aquima.interactions.process.scheduler.IScheduler scheduler()
    • timerForAquimaConfiguration Link icon

      @Bean @Profile("!case-engine") public com.aquima.interactions.foundation.timer.ITimer timerForAquimaConfiguration(TimerSetting setting)
    • exportDataSource Link icon

      @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 aquimaengine IAquimaEngineConfiguration
      exportProperties - the export properties containing the location of the exports
      Returns:
      the aquima datasource
    • emptyAquimaDataSource Link icon

      @Bean @RefreshScope @ConditionalOnMissingBean(com.blueriq.component.api.datasource.AquimaDataSource.class) public com.blueriq.component.api.datasource.AquimaDataSource emptyAquimaDataSource()
    • runtimeKeyMapper Link icon

      @Bean public IRuntimeKeyMapper runtimeKeyMapper(RuntimeKeysProperties runtimeKeysProperties)
    • setApplicationContext Link icon

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
    • getApplicationContext Link icon

      protected org.springframework.context.ApplicationContext getApplicationContext()