Package org.flowable.spring.boot.cmmn
Class CmmnEngineAutoConfiguration
java.lang.Object
org.flowable.spring.boot.AbstractEngineAutoConfiguration
org.flowable.spring.boot.AbstractSpringEngineAutoConfiguration
org.flowable.spring.boot.cmmn.CmmnEngineAutoConfiguration
@ConditionalOnCmmnEngine
@EnableConfigurationProperties({FlowableProperties.class,FlowableMailProperties.class,FlowableAutoDeploymentProperties.class,FlowableIdmProperties.class,FlowableEventRegistryProperties.class,FlowableCmmnProperties.class,FlowableAppProperties.class,FlowableHttpProperties.class})
@AutoConfiguration(after={AppEngineAutoConfiguration.class,ProcessEngineAutoConfiguration.class,org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration.class},
before={AppEngineServicesAutoConfiguration.class,ProcessEngineServicesAutoConfiguration.class})
@Import(FlowableJobConfiguration.class)
public class CmmnEngineAutoConfiguration
extends AbstractSpringEngineAutoConfiguration
EnableAutoConfiguration for the CMMN engine- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FlowableAutoDeploymentPropertiesprotected final FlowableCmmnPropertiesprotected final FlowableEventRegistryPropertiesprotected final FlowableHttpPropertiesprotected final FlowableIdmPropertiesprotected final FlowableMailPropertiesFields inherited from class org.flowable.spring.boot.AbstractEngineAutoConfiguration
flowableProperties, logger, resourcePatternResolver -
Constructor Summary
ConstructorsConstructorDescriptionCmmnEngineAutoConfiguration(FlowableProperties flowableProperties, FlowableCmmnProperties cmmnProperties, FlowableIdmProperties idmProperties, FlowableEventRegistryProperties eventProperties, FlowableMailProperties mailProperties, FlowableHttpProperties httpProperties, FlowableAutoDeploymentProperties autoDeploymentProperties) -
Method Summary
Modifier and TypeMethodDescriptionorg.flowable.spring.job.service.SpringAsyncExecutorcmmnAsyncExecutor(org.flowable.job.service.impl.asyncexecutor.AsyncJobExecutorConfiguration executorConfiguration, org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> rejectedJobsHandler, org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> cmmnRejectedJobsHandler) The Async Executor must not be shared between the engines.org.flowable.job.service.impl.asyncexecutor.AsyncJobExecutorConfigurationorg.flowable.cmmn.spring.SpringCmmnEngineConfigurationcmmnEngineConfiguration(DataSource dataSource, org.springframework.transaction.PlatformTransactionManager platformTransactionManager, org.springframework.beans.factory.ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapperProvider, org.springframework.beans.factory.ObjectProvider<org.flowable.job.service.impl.asyncexecutor.AsyncExecutor> asyncExecutorProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncTaskExecutor> taskExecutor, org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncTaskExecutor> cmmnTaskExecutor, org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncTaskExecutor> applicationTaskExecutorProvider, org.springframework.beans.factory.ObjectProvider<org.flowable.common.engine.api.async.AsyncTaskExecutor> asyncTaskInvokerTaskExecutor, org.springframework.beans.factory.ObjectProvider<org.flowable.http.common.api.client.FlowableHttpClient> flowableHttpClient, org.springframework.beans.factory.ObjectProvider<org.flowable.common.spring.AutoDeploymentStrategy<org.flowable.cmmn.engine.CmmnEngine>> cmmnAutoDeploymentStrategies) Methods inherited from class org.flowable.spring.boot.AbstractSpringEngineAutoConfiguration
configureSpringEngine, getIfAvailableMethods inherited from class org.flowable.spring.boot.AbstractEngineAutoConfiguration
configureEngine, defaultText, discoverDeploymentResources, getCustomMybatisMapperClasses, setResourcePatternResolver
-
Field Details
-
cmmnProperties
-
idmProperties
-
eventProperties
-
mailProperties
-
httpProperties
-
autoDeploymentProperties
-
-
Constructor Details
-
CmmnEngineAutoConfiguration
public CmmnEngineAutoConfiguration(FlowableProperties flowableProperties, FlowableCmmnProperties cmmnProperties, FlowableIdmProperties idmProperties, FlowableEventRegistryProperties eventProperties, FlowableMailProperties mailProperties, FlowableHttpProperties httpProperties, FlowableAutoDeploymentProperties autoDeploymentProperties)
-
-
Method Details
-
cmmnAsyncExecutorConfiguration
@Bean @Cmmn @ConfigurationProperties(prefix="flowable.cmmn.async.executor") public org.flowable.job.service.impl.asyncexecutor.AsyncJobExecutorConfiguration cmmnAsyncExecutorConfiguration() -
cmmnAsyncExecutor
@Bean @Cmmn @ConditionalOnMissingBean(name="cmmnAsyncExecutor") public org.flowable.spring.job.service.SpringAsyncExecutor cmmnAsyncExecutor(@Cmmn org.flowable.job.service.impl.asyncexecutor.AsyncJobExecutorConfiguration executorConfiguration, org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> rejectedJobsHandler, @Cmmn org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> cmmnRejectedJobsHandler) The Async Executor must not be shared between the engines. Therefore a dedicated one is always created. -
cmmnEngineConfiguration
@Bean @ConditionalOnMissingBean public org.flowable.cmmn.spring.SpringCmmnEngineConfiguration cmmnEngineConfiguration(DataSource dataSource, org.springframework.transaction.PlatformTransactionManager platformTransactionManager, org.springframework.beans.factory.ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapperProvider, @Cmmn org.springframework.beans.factory.ObjectProvider<org.flowable.job.service.impl.asyncexecutor.AsyncExecutor> asyncExecutorProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncTaskExecutor> taskExecutor, @Cmmn org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncTaskExecutor> cmmnTaskExecutor, @Qualifier("applicationTaskExecutor") org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncTaskExecutor> applicationTaskExecutorProvider, @Qualifier("flowableAsyncTaskInvokerTaskExecutor") org.springframework.beans.factory.ObjectProvider<org.flowable.common.engine.api.async.AsyncTaskExecutor> asyncTaskInvokerTaskExecutor, org.springframework.beans.factory.ObjectProvider<org.flowable.http.common.api.client.FlowableHttpClient> flowableHttpClient, org.springframework.beans.factory.ObjectProvider<org.flowable.common.spring.AutoDeploymentStrategy<org.flowable.cmmn.engine.CmmnEngine>> cmmnAutoDeploymentStrategies) throws IOException - Throws:
IOException
-