@Component public class PulsarConsumerHandler extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
| 构造器和说明 |
|---|
PulsarConsumerHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
initConsumer(Object bean,
Method method,
PulsarConsumerListener annotation)
初始化消费者
|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization 在接口中 org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic void initConsumer(Object bean, Method method, PulsarConsumerListener annotation)
bean - 对象method - 方法annotation - 注解Copyright © 2021. All rights reserved.