@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(value={org.springframework.amqp.rabbit.core.RabbitTemplate.class,com.rabbitmq.client.Channel.class})
@EnableConfigurationProperties(value=RabbitConfig.class)
public class ZlfRabbitMqRegistrar
extends Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.BeanFactoryAware
原文链接:https://blog.csdn.net/m0_53142956/article/details/127792054
| 构造器和说明 |
|---|
ZlfRabbitMqRegistrar() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata annotationMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata annotationMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry)
registerBeanDefinitions 在接口中 org.springframework.context.annotation.ImportBeanDefinitionRegistrarpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment 在接口中 org.springframework.context.EnvironmentAwarepublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionCopyright © 2024. All rights reserved.