SpringConfigurer and SpringAxonConfiguration.@Deprecated public class SpringAxonAutoConfigurer extends Object implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.beans.factory.BeanFactoryAware
This component is backed by a DefaultConfiguration (see DefaultConfigurer.defaultConfiguration()
and registers the following beans if present in the ApplicationContext:
CommandBusEventStorageEngine or EventBusSerializerTokenStorePlatformTransactionManagerTransactionManagerSagaStoreResourceInjector (which defaults to SpringResourceInjector
Furthermore, all beans with an @Aggregate or @Saga annotation are inspected and
required components to operate the Aggregate or Saga are registered.
| Modifier and Type | Class and Description |
|---|---|
static class |
SpringAxonAutoConfigurer.ImportSelector
Deprecated.
Implementation of an
SpringAxonAutoConfigurer.ImportSelector that enables the import of the SpringAxonAutoConfigurer after
all @Configuration beans have been processed. |
| Modifier and Type | Field and Description |
|---|---|
static String |
AXON_CONFIGURATION_BEAN
Deprecated.
Name of the
AxonConfiguration bean. |
static String |
AXON_CONFIGURER_BEAN
Deprecated.
Name of the
Configurer bean. |
| Constructor and Description |
|---|
SpringAxonAutoConfigurer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Deprecated.
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Deprecated.
|
public static final String AXON_CONFIGURATION_BEAN
AxonConfiguration bean.public static final String AXON_CONFIGURER_BEAN
Configurer bean.public void registerBeanDefinitions(@Nonnull org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrarpublic void setBeanFactory(@Nonnull org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionCopyright © 2010–2023. All rights reserved.