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 java.lang.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
Constructors Constructor Description IntegrationComponentScanRegistrar() -
Method Summary
Modifier and Type Method Description protected java.util.Collection<java.lang.String>getBasePackages(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)voidregisterBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)voidsetEnvironment(org.springframework.core.env.Environment environment)voidsetResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
-
Constructor Details
-
IntegrationComponentScanRegistrar
public IntegrationComponentScanRegistrar()
-
-
Method Details
-
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)- Specified by:
setResourceLoaderin interfaceorg.springframework.context.ResourceLoaderAware
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)- Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
registerBeanDefinitions
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)- Specified by:
registerBeanDefinitionsin interfaceorg.springframework.context.annotation.ImportBeanDefinitionRegistrar
-
getBasePackages
protected java.util.Collection<java.lang.String> getBasePackages(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
-