Class HubConnectedAutoSendReportListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<io.meeds.wom.api.model.Hub,Object>
io.meeds.tenant.hub.listener.HubConnectedAutoSendReportListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.services.listener.ListenerBase<io.meeds.wom.api.model.Hub,Object>

@Component public class HubConnectedAutoSendReportListener extends org.exoplatform.services.listener.Listener<io.meeds.wom.api.model.Hub,Object>
This listener will be triggered when the Hub is connected to the WoM. Once connected, the listener will send automatically last elligible reward report.
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    onEvent(org.exoplatform.services.listener.Event<io.meeds.wom.api.model.Hub,Object> event)
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.exoplatform.services.listener.ListenerBase

    getName
  • Constructor Details

    • HubConnectedAutoSendReportListener

      public HubConnectedAutoSendReportListener()
  • Method Details

    • onEvent

      public void onEvent(org.exoplatform.services.listener.Event<io.meeds.wom.api.model.Hub,Object> event)
    • init

      @PostConstruct public void init()