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)
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)
-
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 java.util.Collection<java.lang.String> getBasePackages(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
-