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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterBeanDefinitions(@Nullable AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) Invoked by the framework when an @EnableIntegration annotation is encountered.voidsetEnvironment(Environment environment) 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
-
Constructor Details
-
IntegrationRegistrar
public IntegrationRegistrar()
-
-
Method Details
-
setEnvironment
- Specified by:
setEnvironmentin interfaceEnvironmentAware
-
registerBeanDefinitions
public void registerBeanDefinitions(@Nullable AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) Invoked by the framework when an @EnableIntegration annotation is encountered. Also called withnullimportingClassMetadatafromAbstractIntegrationNamespaceHandlerto register the same beans when using XML configuration. Also called byAnnotationConfigParserto register the messaging annotation post processors (for<int:annotation-config/>).- Specified by:
registerBeanDefinitionsin interfaceImportBeanDefinitionRegistrar
-