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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
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 Collection<String> getBasePackages(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
-