类 ONSConsumerBean
- java.lang.Object
-
- xin.manong.weapon.aliyun.ons.ONSConsumer
-
- xin.manong.weapon.spring.boot.bean.ONSConsumerBean
-
- 所有已实现的接口:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,xin.manong.weapon.base.rebuild.Rebuildable
public class ONSConsumerBean extends xin.manong.weapon.aliyun.ons.ONSConsumer implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAwareONS Consumer封装 在属性设置完成之后保证messageListener注入- 作者:
- frankcl
-
-
构造器概要
构造器 构造器 说明 ONSConsumerBean(xin.manong.weapon.aliyun.ons.ONSConsumerConfig config)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidafterPropertiesSet()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
方法详细资料
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- 指定者:
setApplicationContext在接口中org.springframework.context.ApplicationContextAware- 抛出:
org.springframework.beans.BeansException
-
-