@Configuration(proxyBeanMethods=false) @ConditionalOnCmmnEngine @EnableConfigurationProperties(value={FlowableProperties.class,FlowableMailProperties.class,FlowableAutoDeploymentProperties.class,FlowableIdmProperties.class,FlowableEventRegistryProperties.class,FlowableCmmnProperties.class,FlowableAppProperties.class,FlowableHttpProperties.class}) @AutoConfigureAfter(value={AppEngineAutoConfiguration.class,ProcessEngineAutoConfiguration.class}, name="org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration") @AutoConfigureBefore(value={AppEngineServicesAutoConfiguration.class,ProcessEngineServicesAutoConfiguration.class}) @Import(value=FlowableJobConfiguration.class) public class CmmnEngineAutoConfiguration extends AbstractSpringEngineAutoConfiguration
EnableAutoConfiguration for the CMMN engine| Modifier and Type | Class and Description |
|---|---|
static class |
CmmnEngineAutoConfiguration.CmmnEngineAppConfiguration |
static class |
CmmnEngineAutoConfiguration.CmmnEngineProcessConfiguration |
| Modifier and Type | Field and Description |
|---|---|
protected FlowableAutoDeploymentProperties |
autoDeploymentProperties |
protected FlowableCmmnProperties |
cmmnProperties |
protected FlowableEventRegistryProperties |
eventProperties |
protected FlowableHttpProperties |
httpProperties |
protected FlowableIdmProperties |
idmProperties |
protected FlowableMailProperties |
mailProperties |
flowableProperties, logger, resourcePatternResolver| Constructor and Description |
|---|
CmmnEngineAutoConfiguration(FlowableProperties flowableProperties,
FlowableCmmnProperties cmmnProperties,
FlowableIdmProperties idmProperties,
FlowableEventRegistryProperties eventProperties,
FlowableMailProperties mailProperties,
FlowableHttpProperties httpProperties,
FlowableAutoDeploymentProperties autoDeploymentProperties) |
| Modifier and Type | Method and Description |
|---|---|
org.flowable.spring.job.service.SpringAsyncExecutor |
cmmnAsyncExecutor(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.AsyncJobExecutorConfiguration |
cmmnAsyncExecutorConfiguration() |
org.flowable.cmmn.spring.SpringCmmnEngineConfiguration |
cmmnEngineConfiguration(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.AsyncListenableTaskExecutor> taskExecutor,
org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncListenableTaskExecutor> cmmnTaskExecutor,
org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncListenableTaskExecutor> 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<List<org.flowable.common.spring.AutoDeploymentStrategy<org.flowable.cmmn.engine.CmmnEngine>>> cmmnAutoDeploymentStrategies) |
configureSpringEngine, getIfAvailableconfigureEngine, defaultIfNotNull, defaultText, discoverDeploymentResources, getCustomMybatisMapperClasses, setResourcePatternResolverprotected final FlowableCmmnProperties cmmnProperties
protected final FlowableIdmProperties idmProperties
protected final FlowableEventRegistryProperties eventProperties
protected final FlowableMailProperties mailProperties
protected final FlowableHttpProperties httpProperties
protected final FlowableAutoDeploymentProperties autoDeploymentProperties
public CmmnEngineAutoConfiguration(FlowableProperties flowableProperties, FlowableCmmnProperties cmmnProperties, FlowableIdmProperties idmProperties, FlowableEventRegistryProperties eventProperties, FlowableMailProperties mailProperties, FlowableHttpProperties httpProperties, FlowableAutoDeploymentProperties autoDeploymentProperties)
@Bean @Cmmn @ConfigurationProperties(prefix="flowable.cmmn.async.executor") public org.flowable.job.service.impl.asyncexecutor.AsyncJobExecutorConfiguration cmmnAsyncExecutorConfiguration()
@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)
@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.AsyncListenableTaskExecutor> taskExecutor, @Cmmn org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncListenableTaskExecutor> cmmnTaskExecutor, @Qualifier(value="applicationTaskExecutor") org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncListenableTaskExecutor> applicationTaskExecutorProvider, @Qualifier(value="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<List<org.flowable.common.spring.AutoDeploymentStrategy<org.flowable.cmmn.engine.CmmnEngine>>> cmmnAutoDeploymentStrategies) throws IOException
IOExceptionCopyright © 2022 Flowable. All rights reserved.