@Configuration @ConditionalOnCmmnEngine @EnableConfigurationProperties(value={FlowableProperties.class,FlowableIdmProperties.class,FlowableCmmnProperties.class,FlowableAppProperties.class}) @AutoConfigureAfter(value={AppEngineAutoConfiguration.class,ProcessEngineAutoConfiguration.class}) @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 FlowableCmmnProperties |
cmmnProperties |
protected FlowableIdmProperties |
idmProperties |
flowableProperties, logger, resourcePatternResolver| Constructor and Description |
|---|
CmmnEngineAutoConfiguration(FlowableProperties flowableProperties,
FlowableCmmnProperties cmmnProperties,
FlowableIdmProperties idmProperties) |
| Modifier and Type | Method and Description |
|---|---|
org.flowable.spring.job.service.SpringAsyncExecutor |
cmmnAsyncExecutor(org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.TaskExecutor> taskExecutor,
org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.TaskExecutor> cmmnTaskExecutor,
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.cmmn.spring.SpringCmmnEngineConfiguration |
cmmnEngineConfiguration(DataSource dataSource,
org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
org.springframework.beans.factory.ObjectProvider<org.flowable.job.service.impl.asyncexecutor.AsyncExecutor> asyncExecutorProvider) |
configureSpringEngine, getIfAvailableconfigureEngine, defaultText, discoverDeploymentResources, getCustomMybatisMapperClasses, setResourcePatternResolverprotected final FlowableCmmnProperties cmmnProperties
protected final FlowableIdmProperties idmProperties
public CmmnEngineAutoConfiguration(FlowableProperties flowableProperties, FlowableCmmnProperties cmmnProperties, FlowableIdmProperties idmProperties)
@Bean @Cmmn @ConfigurationProperties(prefix="flowable.cmmn.async.executor") @ConditionalOnMissingBean(name="cmmnAsyncExecutor") public org.flowable.spring.job.service.SpringAsyncExecutor cmmnAsyncExecutor(org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.TaskExecutor> taskExecutor, @Cmmn org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.TaskExecutor> cmmnTaskExecutor, 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, @Cmmn org.springframework.beans.factory.ObjectProvider<org.flowable.job.service.impl.asyncexecutor.AsyncExecutor> asyncExecutorProvider) throws IOException
IOExceptionCopyright © 2018 Flowable. All rights reserved.