Package org.axonframework.spring.config
Class SpringAxonAutoConfigurer
java.lang.Object
org.axonframework.spring.config.SpringAxonAutoConfigurer
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.context.annotation.ImportBeanDefinitionRegistrar
@Deprecated
public class SpringAxonAutoConfigurer
extends Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.beans.factory.BeanFactoryAware
Deprecated.
ImportBeanDefinitionRegistrar implementation that sets up an infrastructure Configuration based on beans available
in the application context.
This component is backed by a DefaultConfiguration (see DefaultConfigurer.defaultConfiguration()
and registers the following beans if present in the ApplicationContext:
CommandBusEventStorageEngineorEventBusSerializerTokenStorePlatformTransactionManagerTransactionManagerSagaStoreResourceInjector(which defaults toSpringResourceInjector
Furthermore, all beans with an @Aggregate or @Saga annotation are inspected and
required components to operate the Aggregate or Saga are registered.
- Since:
- 3.0
- Author:
- Allard Buijze
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.Implementation of anSpringAxonAutoConfigurer.ImportSelectorthat enables the import of theSpringAxonAutoConfigurerafter all@Configurationbeans have been processed. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.Name of theAxonConfigurationbean.static final StringDeprecated.Name of theConfigurerbean. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) Deprecated.voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
registerBeanDefinitions
-
Field Details
-
AXON_CONFIGURATION_BEAN
Deprecated.Name of theAxonConfigurationbean.- See Also:
-
AXON_CONFIGURER_BEAN
Deprecated.Name of theConfigurerbean.- See Also:
-
-
Constructor Details
-
SpringAxonAutoConfigurer
public SpringAxonAutoConfigurer()Deprecated.
-
-
Method Details
-
registerBeanDefinitions
public void registerBeanDefinitions(@Nonnull org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) Deprecated.- Specified by:
registerBeanDefinitionsin interfaceorg.springframework.context.annotation.ImportBeanDefinitionRegistrar
-
setBeanFactory
public void setBeanFactory(@Nonnull org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException Deprecated.- Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-
SpringConfigurerandSpringAxonConfiguration.