com.alibaba.dubbo.config.spring.context.annotation
Class DubboComponentScanRegistrar
java.lang.Object
com.alibaba.dubbo.config.spring.context.annotation.DubboComponentScanRegistrar
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware, org.springframework.context.ResourceLoaderAware
public class DubboComponentScanRegistrar
- extends Object
- implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.ResourceLoaderAware, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.BeanClassLoaderAware
Dubbo DubboComponentScan Bean Registrar
- Since:
- 2.5.7
- Author:
- Mercy
- See Also:
Service,
DubboComponentScan,
ImportBeanDefinitionRegistrar
DubboComponentScanRegistrar
public DubboComponentScanRegistrar()
registerBeanDefinitions
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
- Specified by:
registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
- Specified by:
setResourceLoader in interface org.springframework.context.ResourceLoaderAware
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- Specified by:
setEnvironment in interface org.springframework.context.EnvironmentAware
setBeanClassLoader
public void setBeanClassLoader(ClassLoader classLoader)
- Specified by:
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware
Copyright © 2012–2017 Alibaba. All rights reserved.