@Configuration(proxyBeanMethods=false) @ConditionalOnProcessEngine @EnableConfigurationProperties(value={FlowableAutoDeploymentProperties.class,FlowableProperties.class,FlowableMailProperties.class,FlowableHttpProperties.class,FlowableProcessProperties.class,FlowableAppProperties.class,FlowableIdmProperties.class,FlowableEventRegistryProperties.class}) @AutoConfigureAfter(value={FlowableJpaAutoConfiguration.class,AppEngineAutoConfiguration.class}, name="org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration") @AutoConfigureBefore(value=AppEngineServicesAutoConfiguration.class) @Import(value=FlowableJobConfiguration.class) public class ProcessEngineAutoConfiguration extends AbstractSpringEngineAutoConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessEngineAutoConfiguration.ProcessEngineAppConfiguration |
| Modifier and Type | Field and Description |
|---|---|
protected FlowableAppProperties |
appProperties |
protected FlowableAutoDeploymentProperties |
autoDeploymentProperties |
protected FlowableEventRegistryProperties |
eventProperties |
protected FlowableHttpProperties |
httpProperties |
protected FlowableIdmProperties |
idmProperties |
protected FlowableMailProperties |
mailProperties |
protected FlowableProcessProperties |
processProperties |
flowableProperties, logger, resourcePatternResolver| Constructor and Description |
|---|
ProcessEngineAutoConfiguration(FlowableProperties flowableProperties,
FlowableProcessProperties processProperties,
FlowableAppProperties appProperties,
FlowableIdmProperties idmProperties,
FlowableEventRegistryProperties eventProperties,
FlowableMailProperties mailProperties,
FlowableHttpProperties httpProperties,
FlowableAutoDeploymentProperties autoDeploymentProperties) |
| Modifier and Type | Method and Description |
|---|---|
org.flowable.spring.job.service.SpringAsyncHistoryExecutor |
asyncHistoryExecutor(org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> rejectedJobsHandler,
org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> processRejectedJobsHandler) |
org.flowable.spring.job.service.SpringAsyncExecutor |
processAsyncExecutor(org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> rejectedJobsHandler,
org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> processRejectedJobsHandler)
The Async Executor must not be shared between the engines.
|
SpringProcessEngineConfiguration |
springProcessEngineConfiguration(DataSource dataSource,
org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
org.springframework.beans.factory.ObjectProvider<org.flowable.common.engine.impl.cfg.IdGenerator> processIdGenerator,
org.springframework.beans.factory.ObjectProvider<org.flowable.common.engine.impl.cfg.IdGenerator> globalIdGenerator,
org.springframework.beans.factory.ObjectProvider<org.flowable.job.service.impl.asyncexecutor.AsyncExecutor> asyncExecutorProvider,
org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncListenableTaskExecutor> applicationTaskExecutorProvider,
org.springframework.beans.factory.ObjectProvider<org.flowable.job.service.impl.asyncexecutor.AsyncExecutor> asyncHistoryExecutorProvider,
org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncListenableTaskExecutor> taskExecutor,
org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncListenableTaskExecutor> processTaskExecutor,
org.springframework.beans.factory.ObjectProvider<org.flowable.http.common.api.client.FlowableHttpClient> flowableHttpClient,
org.springframework.beans.factory.ObjectProvider<List<org.flowable.common.spring.AutoDeploymentStrategy<ProcessEngine>>> processEngineAutoDeploymentStrategies) |
configureSpringEngine, getIfAvailableconfigureEngine, defaultIfNotNull, defaultText, discoverDeploymentResources, getCustomMybatisMapperClasses, setResourcePatternResolverprotected final FlowableProcessProperties processProperties
protected final FlowableAppProperties appProperties
protected final FlowableIdmProperties idmProperties
protected final FlowableEventRegistryProperties eventProperties
protected final FlowableMailProperties mailProperties
protected final FlowableHttpProperties httpProperties
protected final FlowableAutoDeploymentProperties autoDeploymentProperties
public ProcessEngineAutoConfiguration(FlowableProperties flowableProperties, FlowableProcessProperties processProperties, FlowableAppProperties appProperties, FlowableIdmProperties idmProperties, FlowableEventRegistryProperties eventProperties, FlowableMailProperties mailProperties, FlowableHttpProperties httpProperties, FlowableAutoDeploymentProperties autoDeploymentProperties)
@Bean @ProcessAsync @ConfigurationProperties(prefix="flowable.process.async.executor") @ConditionalOnMissingBean(name="processAsyncExecutor") public org.flowable.spring.job.service.SpringAsyncExecutor processAsyncExecutor(org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> rejectedJobsHandler, @Process org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> processRejectedJobsHandler)
@Bean @ProcessAsyncHistory @ConfigurationProperties(prefix="flowable.process.async-history.executor") @ConditionalOnMissingBean(name="asyncHistoryExecutor") @ConditionalOnProperty(prefix="flowable.process", name="async-history.enable") public org.flowable.spring.job.service.SpringAsyncHistoryExecutor asyncHistoryExecutor(org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> rejectedJobsHandler, @Process org.springframework.beans.factory.ObjectProvider<org.flowable.spring.job.service.SpringRejectedJobsHandler> processRejectedJobsHandler)
@Bean @ConditionalOnMissingBean public SpringProcessEngineConfiguration springProcessEngineConfiguration(DataSource dataSource, org.springframework.transaction.PlatformTransactionManager platformTransactionManager, @Process org.springframework.beans.factory.ObjectProvider<org.flowable.common.engine.impl.cfg.IdGenerator> processIdGenerator, org.springframework.beans.factory.ObjectProvider<org.flowable.common.engine.impl.cfg.IdGenerator> globalIdGenerator, @ProcessAsync org.springframework.beans.factory.ObjectProvider<org.flowable.job.service.impl.asyncexecutor.AsyncExecutor> asyncExecutorProvider, @Qualifier(value="applicationTaskExecutor") org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncListenableTaskExecutor> applicationTaskExecutorProvider, @ProcessAsyncHistory org.springframework.beans.factory.ObjectProvider<org.flowable.job.service.impl.asyncexecutor.AsyncExecutor> asyncHistoryExecutorProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncListenableTaskExecutor> taskExecutor, @Process org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncListenableTaskExecutor> processTaskExecutor, org.springframework.beans.factory.ObjectProvider<org.flowable.http.common.api.client.FlowableHttpClient> flowableHttpClient, org.springframework.beans.factory.ObjectProvider<List<org.flowable.common.spring.AutoDeploymentStrategy<ProcessEngine>>> processEngineAutoDeploymentStrategies) throws IOException
IOExceptionCopyright © 2020 Flowable. All rights reserved.