com.alibaba.dubbo.config.spring.context.annotation
Class DubboComponentScanRegistrar

java.lang.Object
  extended by 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

Constructor Summary
DubboComponentScanRegistrar()
           
 
Method Summary
 void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
           
 void setBeanClassLoader(ClassLoader classLoader)
           
 void setEnvironment(org.springframework.core.env.Environment environment)
           
 void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DubboComponentScanRegistrar

public DubboComponentScanRegistrar()
Method Detail

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.