类 RocketMQMessageListenerBeanPostProcessor
- java.lang.Object
-
- org.apache.rocketmq.spring.annotation.RocketMQMessageListenerBeanPostProcessor
-
- 所有已实现的接口:
org.springframework.beans.factory.config.BeanPostProcessor,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
public class RocketMQMessageListenerBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.SmartLifecycle
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static interfaceRocketMQMessageListenerBeanPostProcessor.AnnotationEnhancer
-
构造器概要
构造器 构造器 说明 RocketMQMessageListenerBeanPostProcessor(List<RocketMQMessageListenerBeanPostProcessor.AnnotationEnhancer> enhancers, org.springframework.beans.factory.ObjectProvider<RocketMQMessageListenerContainerRegistrar> provider)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetPhase()booleanisRunning()ObjectpostProcessAfterInitialization(Object bean, String beanName)ObjectpostProcessBeforeInitialization(Object bean, String beanName)voidsetRunning(boolean running)voidstart()voidstop()
-
-
-
构造器详细资料
-
RocketMQMessageListenerBeanPostProcessor
public RocketMQMessageListenerBeanPostProcessor(List<RocketMQMessageListenerBeanPostProcessor.AnnotationEnhancer> enhancers, org.springframework.beans.factory.ObjectProvider<RocketMQMessageListenerContainerRegistrar> provider)
-
-
方法详细资料
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
- 指定者:
postProcessBeforeInitialization在接口中org.springframework.beans.factory.config.BeanPostProcessor- 抛出:
org.springframework.beans.BeansException
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
- 指定者:
postProcessAfterInitialization在接口中org.springframework.beans.factory.config.BeanPostProcessor- 抛出:
org.springframework.beans.BeansException
-
getPhase
public int getPhase()
- 指定者:
getPhase在接口中org.springframework.context.Phased- 指定者:
getPhase在接口中org.springframework.context.SmartLifecycle
-
start
public void start()
- 指定者:
start在接口中org.springframework.context.Lifecycle
-
stop
public void stop()
- 指定者:
stop在接口中org.springframework.context.Lifecycle
-
setRunning
public void setRunning(boolean running)
-
isRunning
public boolean isRunning()
- 指定者:
isRunning在接口中org.springframework.context.Lifecycle
-
-