Class IntegrationRegistrar

java.lang.Object
org.springframework.integration.config.IntegrationRegistrar
All Implemented Interfaces:
Aware, ImportBeanDefinitionRegistrar, EnvironmentAware

public class IntegrationRegistrar extends Object implements ImportBeanDefinitionRegistrar, EnvironmentAware
ImportBeanDefinitionRegistrar implementation that configures integration infrastructure.
Since:
4.0
Author:
Artem Bilan, Gary Russell, Chris Bono, Jiandong Ma
  • Constructor Details

    • IntegrationRegistrar

      public IntegrationRegistrar()
  • Method Details

    • setEnvironment

      public void setEnvironment(Environment environment)
      Specified by:
      setEnvironment in interface EnvironmentAware
    • registerBeanDefinitions

      public void registerBeanDefinitions(@Nullable AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)
      Invoked by the framework when an @EnableIntegration annotation is encountered. Also called with null importingClassMetadata from AbstractIntegrationNamespaceHandler to register the same beans when using XML configuration. Also called by AnnotationConfigParser to register the messaging annotation post processors (for <int:annotation-config/>).
      Specified by:
      registerBeanDefinitions in interface ImportBeanDefinitionRegistrar