public interface DubboBeanUtils
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
log |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkBeanExists(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
Class<?> targetClass) |
static org.apache.dubbo.rpc.model.ApplicationModel |
getApplicationModel(org.springframework.beans.factory.BeanFactory beanFactory) |
static DubboSpringInitContext |
getInitializationContext(org.springframework.beans.factory.BeanFactory beanFactory) |
static org.apache.dubbo.rpc.model.ModuleModel |
getModuleModel(org.springframework.beans.factory.BeanFactory beanFactory) |
static ReferenceAnnotationBeanPostProcessor |
getReferenceAnnotationBeanPostProcessor(org.springframework.beans.factory.support.AbstractBeanFactory beanFactory) |
static ReferenceAnnotationBeanPostProcessor |
getReferenceAnnotationBeanPostProcessor(org.springframework.context.ApplicationContext applicationContext) |
static boolean |
registerBeanDefinition(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
String beanName,
Class<?> beanClass,
Map<String,Object> extraPropertyValues) |
static void |
registerCommonBeans(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Register the common beans
|
static boolean |
registerInfrastructureBean(org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry,
String beanName,
Class<?> beanType)
Register Infrastructure Bean
|
static void |
registerPlaceholderConfigurerBeanIfNotExists(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Register a placeholder configurer beans if not exists.
|
static void registerCommonBeans(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
registry - BeanDefinitionRegistryReferenceAnnotationBeanPostProcessor,
DubboConfigDefaultPropertyValueBeanPostProcessor,
DubboConfigAliasPostProcessorstatic boolean registerInfrastructureBean(org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry,
String beanName,
Class<?> beanType)
beanDefinitionRegistry - BeanDefinitionRegistrybeanType - the type of beanbeanName - the name of beantrue, or falsestatic void registerPlaceholderConfigurerBeanIfNotExists(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
beanFactory - registry - DubboInfraBeanRegisterPostProcessor,
PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(org.springframework.beans.factory.config.ConfigurableListableBeanFactory, java.util.List)static boolean registerBeanDefinition(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
String beanName,
Class<?> beanClass,
Map<String,Object> extraPropertyValues)
static boolean checkBeanExists(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
Class<?> targetClass)
static ReferenceAnnotationBeanPostProcessor getReferenceAnnotationBeanPostProcessor(org.springframework.beans.factory.support.AbstractBeanFactory beanFactory)
static ReferenceAnnotationBeanPostProcessor getReferenceAnnotationBeanPostProcessor(org.springframework.context.ApplicationContext applicationContext)
static DubboSpringInitContext getInitializationContext(org.springframework.beans.factory.BeanFactory beanFactory)
static org.apache.dubbo.rpc.model.ApplicationModel getApplicationModel(org.springframework.beans.factory.BeanFactory beanFactory)
static org.apache.dubbo.rpc.model.ModuleModel getModuleModel(org.springframework.beans.factory.BeanFactory beanFactory)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.