Class EventRegistryAutoConfiguration
java.lang.Object
com.flowable.spring.boot.AbstractEngineAutoConfiguration
com.flowable.spring.boot.AbstractSpringEngineAutoConfiguration
com.flowable.spring.boot.eventregistry.EventRegistryAutoConfiguration
@Configuration(proxyBeanMethods=false) @ConditionalOnEventRegistry @EnableConfigurationProperties({FlowableProperties.class,FlowableAutoDeploymentProperties.class,FlowableEventRegistryProperties.class}) @AutoConfigureAfter({AppEngineAutoConfiguration.class,ProcessEngineAutoConfiguration.class,org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration.class,org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration.class,org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration.class,FlowableSqsAutoConfiguration.class}) @AutoConfigureBefore({AppEngineServicesAutoConfiguration.class,ProcessEngineServicesAutoConfiguration.class}) public class EventRegistryAutoConfiguration extends AbstractSpringEngineAutoConfiguration
EnableAutoConfiguration
for the Dmn engine- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EventRegistryAutoConfiguration.EventRegistryAppEngineConfiguration
static class
EventRegistryAutoConfiguration.EventRegistryAwsSqsConfiguration
static class
EventRegistryAutoConfiguration.EventRegistryJmsConfiguration
static class
EventRegistryAutoConfiguration.EventRegistryKafkaConfiguration
static class
EventRegistryAutoConfiguration.EventRegistryProcessConfiguration
static class
EventRegistryAutoConfiguration.EventRegistryRabbitConfiguration
-
Field Summary
Fields Modifier and Type Field Description protected FlowableAutoDeploymentProperties
autoDeploymentProperties
protected FlowableEventRegistryProperties
eventProperties
Fields inherited from class com.flowable.spring.boot.AbstractEngineAutoConfiguration
flowableProperties, logger, resourcePatternResolver
-
Constructor Summary
Constructors Constructor Description EventRegistryAutoConfiguration(FlowableProperties flowableProperties, FlowableEventRegistryProperties eventProperties, FlowableAutoDeploymentProperties autoDeploymentProperties)
-
Method Summary
Modifier and Type Method Description org.flowable.eventregistry.spring.SpringEventRegistryEngineConfiguration
eventEngineConfiguration(javax.sql.DataSource dataSource, org.springframework.transaction.PlatformTransactionManager platformTransactionManager, org.springframework.beans.factory.ObjectProvider<java.util.List<org.flowable.eventregistry.api.ChannelModelProcessor>> channelModelProcessors, org.springframework.beans.factory.ObjectProvider<org.flowable.common.spring.AutoDeploymentStrategy<org.flowable.eventregistry.impl.EventRegistryEngine>> eventAutoDeploymentStrategies, org.springframework.beans.factory.ObjectProvider<org.springframework.scheduling.TaskScheduler> taskScheduler, org.springframework.beans.factory.ObjectProvider<org.flowable.eventregistry.api.management.EventRegistryChangeDetectionExecutor> eventRegistryChangeDetectionExecutor)
org.flowable.eventregistry.api.management.EventRegistryChangeDetectionExecutor
eventRegistryChangeDetectionExecutor(org.springframework.beans.factory.ObjectProvider<org.springframework.scheduling.TaskScheduler> taskScheduler)
Methods inherited from class com.flowable.spring.boot.AbstractSpringEngineAutoConfiguration
configureSpringEngine, getIfAvailable
Methods inherited from class com.flowable.spring.boot.AbstractEngineAutoConfiguration
configureEngine, defaultIfNotNull, defaultText, discoverDeploymentResources, getCustomMybatisMapperClasses, setResourcePatternResolver
-
Field Details
-
Constructor Details
-
EventRegistryAutoConfiguration
public EventRegistryAutoConfiguration(FlowableProperties flowableProperties, FlowableEventRegistryProperties eventProperties, FlowableAutoDeploymentProperties autoDeploymentProperties)
-
-
Method Details
-
eventEngineConfiguration
@Bean @ConditionalOnMissingBean public org.flowable.eventregistry.spring.SpringEventRegistryEngineConfiguration eventEngineConfiguration(javax.sql.DataSource dataSource, org.springframework.transaction.PlatformTransactionManager platformTransactionManager, org.springframework.beans.factory.ObjectProvider<java.util.List<org.flowable.eventregistry.api.ChannelModelProcessor>> channelModelProcessors, org.springframework.beans.factory.ObjectProvider<org.flowable.common.spring.AutoDeploymentStrategy<org.flowable.eventregistry.impl.EventRegistryEngine>> eventAutoDeploymentStrategies, org.springframework.beans.factory.ObjectProvider<org.springframework.scheduling.TaskScheduler> taskScheduler, org.springframework.beans.factory.ObjectProvider<org.flowable.eventregistry.api.management.EventRegistryChangeDetectionExecutor> eventRegistryChangeDetectionExecutor) throws java.io.IOException- Throws:
java.io.IOException
-
eventRegistryChangeDetectionExecutor
@Bean @ConditionalOnProperty(prefix="flowable.eventregistry", name="enable-change-detection", havingValue="true", matchIfMissing=true) @ConditionalOnMissingBean public org.flowable.eventregistry.api.management.EventRegistryChangeDetectionExecutor eventRegistryChangeDetectionExecutor(org.springframework.beans.factory.ObjectProvider<org.springframework.scheduling.TaskScheduler> taskScheduler)
-