@AutoConfiguration @ConditionalOnClass(value=SpringConfigurer.class) @AutoConfigureAfter(value={AxonAutoConfiguration.class,JpaAutoConfiguration.class,JpaEventStoreAutoConfiguration.class,NoOpTransactionAutoConfiguration.class,TransactionAutoConfiguration.class}) public class InfraConfiguration extends Object
MessageHandlerLookup
to find Axon components and register them with the SpringConfigurer
.Constructor and Description |
---|
InfraConfiguration() |
@Role(value=2) @Bean public static MessageHandlerLookup messageHandlerLookup()
@Role(value=2) @Bean public static SpringAggregateLookup springAggregateLookup()
@Role(value=2) @Bean public static SpringSagaLookup springSagaLookup()
@Bean @ConditionalOnMissingBean public SpringAxonConfiguration springAxonConfiguration(Configurer configurer)
@Bean @ConditionalOnMissingBean public SpringConfigurer springAxonConfigurer(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, List<ConfigurerModule> configurerModules, List<ModuleConfiguration> moduleConfigurations)
@Bean public org.springframework.beans.factory.InitializingBean lifecycleInitializer(Configurer configurer, List<Lifecycle> lifecycleBeans)
@Primary @Bean public HandlerDefinitionFactoryBean handlerDefinition(List<HandlerDefinition> handlerDefinitions, List<HandlerEnhancerDefinition> handlerEnhancerDefinitions)
@Primary @Bean public SpringParameterResolverFactoryBean parameterResolverFactory(List<ParameterResolverFactory> parameterResolverFactories)
@ConditionalOnClass(value=CorrelationDataProvider.class) @Bean public ConfigurerModule correlationDataProvidersConfigurer(List<CorrelationDataProvider> correlationDataProviders)
@ConditionalOnClass(value=EventUpcaster.class) @Bean public ConfigurerModule eventUpcastersConfigurer(List<EventUpcaster> upcasters)
@ConditionalOnMissingBean @Bean public ResourceInjector resourceInjector()
Copyright © 2010–2024. All rights reserved.