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:

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
  • Field Details

  • 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:
      registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
    • setBeanFactory

      public void setBeanFactory(@Nonnull org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      Deprecated.
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      Throws:
      org.springframework.beans.BeansException