Class BaseWebSubEventsInitializer

    • Field Detail

      • EVENT_TYPE_PLACEHOLDER

        public static final String EVENT_TYPE_PLACEHOLDER
        The Constant EVENT_TYPE_PLACEHOLDER.
        See Also:
        Constant Field Values
      • env

        @Autowired
        protected EnvUtil env
        The env.
      • webSubHelper

        @Autowired
        protected WebSubHelper webSubHelper
    • Constructor Detail

      • BaseWebSubEventsInitializer

        public BaseWebSubEventsInitializer()
    • Method Detail

      • doSubscribe

        protected abstract void doSubscribe()
        Do subscribe.
      • doRegister

        protected abstract void doRegister()
        Do register.
      • tryRegisterTopicEvent

        protected void tryRegisterTopicEvent​(String eventTopic)
      • subscribeForEvent

        protected void subscribeForEvent​(String eventTopic,
                                         String callbackUrl,
                                         String callbackSecret)