Class EventRegistryAutoConfiguration
- java.lang.Object
-
- org.flowable.spring.boot.AbstractEngineAutoConfiguration
-
- org.flowable.spring.boot.AbstractSpringEngineAutoConfiguration
-
- org.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}) @AutoConfigureBefore({AppEngineServicesAutoConfiguration.class,ProcessEngineServicesAutoConfiguration.class}) public class EventRegistryAutoConfiguration extends AbstractSpringEngineAutoConfiguration
Auto configuration for the event registry.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventRegistryAutoConfiguration.EventRegistryAppEngineConfigurationstatic classEventRegistryAutoConfiguration.EventRegistryJmsConfigurationstatic classEventRegistryAutoConfiguration.EventRegistryKafkaConfigurationstatic classEventRegistryAutoConfiguration.EventRegistryProcessConfigurationstatic classEventRegistryAutoConfiguration.EventRegistryRabbitConfiguration
-
Field Summary
Fields Modifier and Type Field Description protected FlowableAutoDeploymentPropertiesautoDeploymentPropertiesprotected FlowableEventRegistryPropertieseventProperties-
Fields inherited from class org.flowable.spring.boot.AbstractEngineAutoConfiguration
flowableProperties, logger, resourcePatternResolver
-
-
Constructor Summary
Constructors Constructor Description EventRegistryAutoConfiguration(FlowableProperties flowableProperties, FlowableEventRegistryProperties eventProperties, FlowableAutoDeploymentProperties autoDeploymentProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.flowable.eventregistry.spring.SpringEventRegistryEngineConfigurationeventEngineConfiguration(DataSource dataSource, org.springframework.transaction.PlatformTransactionManager platformTransactionManager, org.springframework.beans.factory.ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapperProvider, org.springframework.beans.factory.ObjectProvider<List<org.flowable.eventregistry.api.ChannelModelProcessor>> channelModelProcessors, org.springframework.beans.factory.ObjectProvider<List<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.EventRegistryChangeDetectionExecutoreventRegistryChangeDetectionExecutor(org.springframework.beans.factory.ObjectProvider<org.springframework.scheduling.TaskScheduler> taskScheduler)-
Methods inherited from class org.flowable.spring.boot.AbstractSpringEngineAutoConfiguration
configureSpringEngine, getIfAvailable
-
Methods inherited from class org.flowable.spring.boot.AbstractEngineAutoConfiguration
configureEngine, defaultIfNotNull, defaultText, discoverDeploymentResources, getCustomMybatisMapperClasses, setResourcePatternResolver
-
-
-
-
Field Detail
-
eventProperties
protected final FlowableEventRegistryProperties eventProperties
-
autoDeploymentProperties
protected final FlowableAutoDeploymentProperties autoDeploymentProperties
-
-
Constructor Detail
-
EventRegistryAutoConfiguration
public EventRegistryAutoConfiguration(FlowableProperties flowableProperties, FlowableEventRegistryProperties eventProperties, FlowableAutoDeploymentProperties autoDeploymentProperties)
-
-
Method Detail
-
eventEngineConfiguration
@Bean @ConditionalOnMissingBean public org.flowable.eventregistry.spring.SpringEventRegistryEngineConfiguration eventEngineConfiguration(DataSource dataSource, org.springframework.transaction.PlatformTransactionManager platformTransactionManager, org.springframework.beans.factory.ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapperProvider, org.springframework.beans.factory.ObjectProvider<List<org.flowable.eventregistry.api.ChannelModelProcessor>> channelModelProcessors, org.springframework.beans.factory.ObjectProvider<List<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 IOException
- Throws:
IOException
-
eventRegistryChangeDetectionExecutor
@Bean @ConditionalOnProperty(prefix="flowable.eventregistry", name="enable-change-detection") @ConditionalOnMissingBean public org.flowable.eventregistry.api.management.EventRegistryChangeDetectionExecutor eventRegistryChangeDetectionExecutor(org.springframework.beans.factory.ObjectProvider<org.springframework.scheduling.TaskScheduler> taskScheduler)
-
-