类 PushConfig

java.lang.Object
com.iplatform.core.PlatformConfiguration
com.iplatform.base.config.PushConfig

@Configuration public class PushConfig extends PlatformConfiguration
  • 构造器详细资料

    • PushConfig

      public PushConfig()
  • 方法详细资料

    • pushProperties

      @Bean public PushProperties pushProperties()
      推送参数配置
      返回:
    • pushManager

      @Bean public com.walker.push.PushManager pushManager(org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor, PushProperties pushProperties, com.walker.push.PushStatusListener pushStatusListener)
      配置推送管理器对象
      返回:
    • pushStatusListener

      @Bean public com.walker.push.PushStatusListener pushStatusListener(PushCacheProvider pushCacheProvider, PushServiceImpl pushService)
      配置推送监听器,仅异步推送者需要使用
      返回:
    • mockSmsPush

      @Bean public MockSmsPush mockSmsPush(com.walker.push.PushManager pushManager)
      注册'模拟短信'推送者
      参数:
      pushManager -
      返回:
    • systemPush

      @Bean public SystemPush systemPush(com.walker.push.PushManager pushManager)
      注册默认的'系统消息'推送者,其实并不推送。
      参数:
      pushManager -
      返回: