类 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.ApplicationContextAware
    ONS Consumer封装 在属性设置完成之后保证messageListener注入
    作者:
    frankcl
    • 构造器详细资料

      • ONSConsumerBean

        public ONSConsumerBean​(xin.manong.weapon.aliyun.ons.ONSConsumerConfig config)
    • 方法详细资料

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        指定者:
        setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
        抛出:
        org.springframework.beans.BeansException
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        指定者:
        afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBean
        抛出:
        Exception