Class IntegrationComponentScanRegistrar
java.lang.Object
org.springframework.integration.config.IntegrationComponentScanRegistrar
- All Implemented Interfaces:
Aware
,ImportBeanDefinitionRegistrar
,EnvironmentAware
,ResourceLoaderAware
public class IntegrationComponentScanRegistrar
extends Object
implements ImportBeanDefinitionRegistrar, ResourceLoaderAware, EnvironmentAware
ImportBeanDefinitionRegistrar
implementation to scan and register Integration specific components.- Since:
- 4.0
- Author:
- Artem Bilan, Gary Russell, Chris Bono
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<String>
getBasePackages
(AnnotationAttributes componentScan, BeanDefinitionRegistry registry) void
registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) void
setEnvironment
(Environment environment) void
setResourceLoader
(ResourceLoader resourceLoader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
registerBeanDefinitions
-
Constructor Details
-
IntegrationComponentScanRegistrar
public IntegrationComponentScanRegistrar()
-
-
Method Details
-
setResourceLoader
- Specified by:
setResourceLoader
in interfaceResourceLoaderAware
-
setEnvironment
- Specified by:
setEnvironment
in interfaceEnvironmentAware
-
registerBeanDefinitions
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) - Specified by:
registerBeanDefinitions
in interfaceImportBeanDefinitionRegistrar
-
getBasePackages
protected Collection<String> getBasePackages(AnnotationAttributes componentScan, BeanDefinitionRegistry registry)
-