Class IntegrationComponentScanRegistrar
java.lang.Object
org.springframework.integration.config.IntegrationComponentScanRegistrar
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.annotation.ImportBeanDefinitionRegistrar
,org.springframework.context.EnvironmentAware
,org.springframework.context.ResourceLoaderAware
public class IntegrationComponentScanRegistrar
extends Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.ResourceLoaderAware, org.springframework.context.EnvironmentAware
ImportBeanDefinitionRegistrar
implementation to scan and register Integration specific components.- Since:
- 4.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<String>
getBasePackages
(org.springframework.core.annotation.AnnotationAttributes componentScan, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) void
registerBeanDefinitions
(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) void
setEnvironment
(org.springframework.core.env.Environment environment) void
setResourceLoader
(org.springframework.core.io.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
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) - Specified by:
setResourceLoader
in interfaceorg.springframework.context.ResourceLoaderAware
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) - Specified by:
setEnvironment
in interfaceorg.springframework.context.EnvironmentAware
-
registerBeanDefinitions
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) - Specified by:
registerBeanDefinitions
in interfaceorg.springframework.context.annotation.ImportBeanDefinitionRegistrar
-
getBasePackages
protected Collection<String> getBasePackages(org.springframework.core.annotation.AnnotationAttributes componentScan, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
-