Class IntegrationRegistrar
java.lang.Object
org.springframework.integration.config.IntegrationRegistrar
- All Implemented Interfaces:
org.springframework.context.annotation.ImportBeanDefinitionRegistrar
public class IntegrationRegistrar
extends java.lang.Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar
ImportBeanDefinitionRegistrar
implementation that configures integration infrastructure.- Since:
- 4.0
-
Constructor Summary
Constructors Constructor Description IntegrationRegistrar()
-
Method Summary
Modifier and Type Method Description void
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Invoked by the framework when an @EnableIntegration annotation is encountered.
-
Constructor Details
-
IntegrationRegistrar
public IntegrationRegistrar()
-
-
Method Details
-
registerBeanDefinitions
public void registerBeanDefinitions(@Nullable org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)Invoked by the framework when an @EnableIntegration annotation is encountered. Also called withnull
importingClassMetadata
fromAbstractIntegrationNamespaceHandler
to register the same beans when using XML configuration. Also called byAnnotationConfigParser
to register the messaging annotation post processors (for<int:annotation-config/>
).- Specified by:
registerBeanDefinitions
in interfaceorg.springframework.context.annotation.ImportBeanDefinitionRegistrar
-