public class IntegrationRegistrar
extends java.lang.Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.beans.factory.BeanClassLoaderAware
ImportBeanDefinitionRegistrar
implementation that configures integration infrastructure.Constructor and Description |
---|
IntegrationRegistrar() |
Modifier and Type | Method and 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.
|
void |
setBeanClassLoader(java.lang.ClassLoader classLoader) |
public void setBeanClassLoader(java.lang.ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
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/>
).registerBeanDefinitions
in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar