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